jquery-ui-rails 3.0.1 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of jquery-ui-rails might be problematic. Click here for more details.

Files changed (61) hide show
  1. data/History.md +10 -0
  2. data/README.md +1 -1
  3. data/Rakefile +4 -5
  4. data/lib/jquery/ui/rails/version.rb +1 -1
  5. data/vendor/assets/javascripts/jquery.ui.accordion.js +130 -290
  6. data/vendor/assets/javascripts/jquery.ui.autocomplete.js +30 -18
  7. data/vendor/assets/javascripts/jquery.ui.button.js +9 -8
  8. data/vendor/assets/javascripts/jquery.ui.core.js +19 -53
  9. data/vendor/assets/javascripts/jquery.ui.datepicker-be.js +23 -0
  10. data/vendor/assets/javascripts/jquery.ui.datepicker-fr-CA.js +23 -0
  11. data/vendor/assets/javascripts/jquery.ui.datepicker-ky.js +24 -0
  12. data/vendor/assets/javascripts/jquery.ui.datepicker-nb.js +22 -0
  13. data/vendor/assets/javascripts/jquery.ui.datepicker-nn.js +22 -0
  14. data/vendor/assets/javascripts/jquery.ui.datepicker.js +1076 -878
  15. data/vendor/assets/javascripts/jquery.ui.dialog.js +456 -547
  16. data/vendor/assets/javascripts/jquery.ui.draggable.js +317 -207
  17. data/vendor/assets/javascripts/jquery.ui.droppable.js +177 -100
  18. data/vendor/assets/javascripts/jquery.ui.effect-blind.js +2 -2
  19. data/vendor/assets/javascripts/jquery.ui.effect-bounce.js +2 -2
  20. data/vendor/assets/javascripts/jquery.ui.effect-clip.js +2 -2
  21. data/vendor/assets/javascripts/jquery.ui.effect-drop.js +2 -2
  22. data/vendor/assets/javascripts/jquery.ui.effect-explode.js +2 -2
  23. data/vendor/assets/javascripts/jquery.ui.effect-fade.js +2 -2
  24. data/vendor/assets/javascripts/jquery.ui.effect-fold.js +2 -2
  25. data/vendor/assets/javascripts/jquery.ui.effect-highlight.js +2 -2
  26. data/vendor/assets/javascripts/jquery.ui.effect-pulsate.js +2 -2
  27. data/vendor/assets/javascripts/jquery.ui.effect-scale.js +2 -2
  28. data/vendor/assets/javascripts/jquery.ui.effect-shake.js +2 -2
  29. data/vendor/assets/javascripts/jquery.ui.effect-slide.js +2 -2
  30. data/vendor/assets/javascripts/jquery.ui.effect-transfer.js +3 -3
  31. data/vendor/assets/javascripts/jquery.ui.effect.js +91 -99
  32. data/vendor/assets/javascripts/jquery.ui.menu.js +20 -9
  33. data/vendor/assets/javascripts/jquery.ui.mouse.js +25 -25
  34. data/vendor/assets/javascripts/jquery.ui.position.js +39 -59
  35. data/vendor/assets/javascripts/jquery.ui.progressbar.js +73 -33
  36. data/vendor/assets/javascripts/jquery.ui.resizable.js +461 -294
  37. data/vendor/assets/javascripts/jquery.ui.selectable.js +67 -51
  38. data/vendor/assets/javascripts/jquery.ui.slider.js +100 -95
  39. data/vendor/assets/javascripts/jquery.ui.sortable.js +411 -257
  40. data/vendor/assets/javascripts/jquery.ui.spinner.js +19 -5
  41. data/vendor/assets/javascripts/jquery.ui.tabs.js +47 -567
  42. data/vendor/assets/javascripts/jquery.ui.tooltip.js +14 -10
  43. data/vendor/assets/javascripts/jquery.ui.widget.js +33 -40
  44. data/vendor/assets/stylesheets/jquery.ui.accordion.css.erb +30 -8
  45. data/vendor/assets/stylesheets/jquery.ui.all.css.erb +2 -2
  46. data/vendor/assets/stylesheets/jquery.ui.autocomplete.css.erb +2 -5
  47. data/vendor/assets/stylesheets/jquery.ui.base.css.erb +2 -2
  48. data/vendor/assets/stylesheets/jquery.ui.button.css.erb +100 -26
  49. data/vendor/assets/stylesheets/jquery.ui.core.css.erb +65 -12
  50. data/vendor/assets/stylesheets/jquery.ui.datepicker.css.erb +166 -55
  51. data/vendor/assets/stylesheets/jquery.ui.dialog.css.erb +61 -14
  52. data/vendor/assets/stylesheets/jquery.ui.menu.css.erb +61 -14
  53. data/vendor/assets/stylesheets/jquery.ui.progressbar.css.erb +20 -4
  54. data/vendor/assets/stylesheets/jquery.ui.resizable.css.erb +70 -13
  55. data/vendor/assets/stylesheets/jquery.ui.selectable.css.erb +7 -3
  56. data/vendor/assets/stylesheets/jquery.ui.slider.css.erb +63 -15
  57. data/vendor/assets/stylesheets/jquery.ui.spinner.css.erb +52 -10
  58. data/vendor/assets/stylesheets/jquery.ui.tabs.css.erb +44 -10
  59. data/vendor/assets/stylesheets/jquery.ui.theme.css.erb +196 -38
  60. data/vendor/assets/stylesheets/jquery.ui.tooltip.css.erb +4 -6
  61. metadata +8 -3
@@ -4,10 +4,10 @@
4
4
  //= require jquery.ui.draggable
5
5
 
6
6
  /*!
7
- * jQuery UI Droppable 1.9.2
7
+ * jQuery UI Droppable 1.10.0
8
8
  * http://jqueryui.com
9
9
  *
10
- * Copyright 2012 jQuery Foundation and other contributors
10
+ * Copyright 2013 jQuery Foundation and other contributors
11
11
  * Released under the MIT license.
12
12
  * http://jquery.org/license
13
13
  *
@@ -21,22 +21,36 @@
21
21
  */
22
22
  (function( $, undefined ) {
23
23
 
24
+ function isOverAxis( x, reference, size ) {
25
+ return ( x > reference ) && ( x < ( reference + size ) );
26
+ }
27
+
24
28
  $.widget("ui.droppable", {
25
- version: "1.9.2",
29
+ version: "1.10.0",
26
30
  widgetEventPrefix: "drop",
27
31
  options: {
28
- accept: '*',
32
+ accept: "*",
29
33
  activeClass: false,
30
34
  addClasses: true,
31
35
  greedy: false,
32
36
  hoverClass: false,
33
- scope: 'default',
34
- tolerance: 'intersect'
37
+ scope: "default",
38
+ tolerance: "intersect",
39
+
40
+ // callbacks
41
+ activate: null,
42
+ deactivate: null,
43
+ drop: null,
44
+ out: null,
45
+ over: null
35
46
  },
36
47
  _create: function() {
37
48
 
38
- var o = this.options, accept = o.accept;
39
- this.isover = 0; this.isout = 1;
49
+ var o = this.options,
50
+ accept = o.accept;
51
+
52
+ this.isover = false;
53
+ this.isout = true;
40
54
 
41
55
  this.accept = $.isFunction(accept) ? accept : function(d) {
42
56
  return d.is(accept);
@@ -54,17 +68,21 @@ $.widget("ui.droppable", {
54
68
  },
55
69
 
56
70
  _destroy: function() {
57
- var drop = $.ui.ddmanager.droppables[this.options.scope];
58
- for ( var i = 0; i < drop.length; i++ )
59
- if ( drop[i] == this )
71
+ var i = 0,
72
+ drop = $.ui.ddmanager.droppables[this.options.scope];
73
+
74
+ for ( ; i < drop.length; i++ ) {
75
+ if ( drop[i] === this ) {
60
76
  drop.splice(i, 1);
77
+ }
78
+ }
61
79
 
62
80
  this.element.removeClass("ui-droppable ui-droppable-disabled");
63
81
  },
64
82
 
65
83
  _setOption: function(key, value) {
66
84
 
67
- if(key == 'accept') {
85
+ if(key === "accept") {
68
86
  this.accept = $.isFunction(value) ? value : function(d) {
69
87
  return d.is(value);
70
88
  };
@@ -74,24 +92,38 @@ $.widget("ui.droppable", {
74
92
 
75
93
  _activate: function(event) {
76
94
  var draggable = $.ui.ddmanager.current;
77
- if(this.options.activeClass) this.element.addClass(this.options.activeClass);
78
- (draggable && this._trigger('activate', event, this.ui(draggable)));
95
+ if(this.options.activeClass) {
96
+ this.element.addClass(this.options.activeClass);
97
+ }
98
+ if(draggable){
99
+ this._trigger("activate", event, this.ui(draggable));
100
+ }
79
101
  },
80
102
 
81
103
  _deactivate: function(event) {
82
104
  var draggable = $.ui.ddmanager.current;
83
- if(this.options.activeClass) this.element.removeClass(this.options.activeClass);
84
- (draggable && this._trigger('deactivate', event, this.ui(draggable)));
105
+ if(this.options.activeClass) {
106
+ this.element.removeClass(this.options.activeClass);
107
+ }
108
+ if(draggable){
109
+ this._trigger("deactivate", event, this.ui(draggable));
110
+ }
85
111
  },
86
112
 
87
113
  _over: function(event) {
88
114
 
89
115
  var draggable = $.ui.ddmanager.current;
90
- if (!draggable || (draggable.currentItem || draggable.element)[0] == this.element[0]) return; // Bail if draggable and droppable are same element
116
+
117
+ // Bail if draggable and droppable are same element
118
+ if (!draggable || (draggable.currentItem || draggable.element)[0] === this.element[0]) {
119
+ return;
120
+ }
91
121
 
92
122
  if (this.accept.call(this.element[0],(draggable.currentItem || draggable.element))) {
93
- if(this.options.hoverClass) this.element.addClass(this.options.hoverClass);
94
- this._trigger('over', event, this.ui(draggable));
123
+ if(this.options.hoverClass) {
124
+ this.element.addClass(this.options.hoverClass);
125
+ }
126
+ this._trigger("over", event, this.ui(draggable));
95
127
  }
96
128
 
97
129
  },
@@ -99,37 +131,53 @@ $.widget("ui.droppable", {
99
131
  _out: function(event) {
100
132
 
101
133
  var draggable = $.ui.ddmanager.current;
102
- if (!draggable || (draggable.currentItem || draggable.element)[0] == this.element[0]) return; // Bail if draggable and droppable are same element
134
+
135
+ // Bail if draggable and droppable are same element
136
+ if (!draggable || (draggable.currentItem || draggable.element)[0] === this.element[0]) {
137
+ return;
138
+ }
103
139
 
104
140
  if (this.accept.call(this.element[0],(draggable.currentItem || draggable.element))) {
105
- if(this.options.hoverClass) this.element.removeClass(this.options.hoverClass);
106
- this._trigger('out', event, this.ui(draggable));
141
+ if(this.options.hoverClass) {
142
+ this.element.removeClass(this.options.hoverClass);
143
+ }
144
+ this._trigger("out", event, this.ui(draggable));
107
145
  }
108
146
 
109
147
  },
110
148
 
111
149
  _drop: function(event,custom) {
112
150
 
113
- var draggable = custom || $.ui.ddmanager.current;
114
- if (!draggable || (draggable.currentItem || draggable.element)[0] == this.element[0]) return false; // Bail if draggable and droppable are same element
151
+ var draggable = custom || $.ui.ddmanager.current,
152
+ childrenIntersection = false;
115
153
 
116
- var childrenIntersection = false;
117
- this.element.find(":data(droppable)").not(".ui-draggable-dragging").each(function() {
118
- var inst = $.data(this, 'droppable');
154
+ // Bail if draggable and droppable are same element
155
+ if (!draggable || (draggable.currentItem || draggable.element)[0] === this.element[0]) {
156
+ return false;
157
+ }
158
+
159
+ this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function() {
160
+ var inst = $.data(this, "ui-droppable");
119
161
  if(
120
- inst.options.greedy
121
- && !inst.options.disabled
122
- && inst.options.scope == draggable.options.scope
123
- && inst.accept.call(inst.element[0], (draggable.currentItem || draggable.element))
124
- && $.ui.intersect(draggable, $.extend(inst, { offset: inst.element.offset() }), inst.options.tolerance)
162
+ inst.options.greedy &&
163
+ !inst.options.disabled &&
164
+ inst.options.scope === draggable.options.scope &&
165
+ inst.accept.call(inst.element[0], (draggable.currentItem || draggable.element)) &&
166
+ $.ui.intersect(draggable, $.extend(inst, { offset: inst.element.offset() }), inst.options.tolerance)
125
167
  ) { childrenIntersection = true; return false; }
126
168
  });
127
- if(childrenIntersection) return false;
169
+ if(childrenIntersection) {
170
+ return false;
171
+ }
128
172
 
129
173
  if(this.accept.call(this.element[0],(draggable.currentItem || draggable.element))) {
130
- if(this.options.activeClass) this.element.removeClass(this.options.activeClass);
131
- if(this.options.hoverClass) this.element.removeClass(this.options.hoverClass);
132
- this._trigger('drop', event, this.ui(draggable));
174
+ if(this.options.activeClass) {
175
+ this.element.removeClass(this.options.activeClass);
176
+ }
177
+ if(this.options.hoverClass) {
178
+ this.element.removeClass(this.options.hoverClass);
179
+ }
180
+ this._trigger("drop", event, this.ui(draggable));
133
181
  return this.element;
134
182
  }
135
183
 
@@ -150,44 +198,40 @@ $.widget("ui.droppable", {
150
198
 
151
199
  $.ui.intersect = function(draggable, droppable, toleranceMode) {
152
200
 
153
- if (!droppable.offset) return false;
201
+ if (!droppable.offset) {
202
+ return false;
203
+ }
154
204
 
155
- var x1 = (draggable.positionAbs || draggable.position.absolute).left, x2 = x1 + draggable.helperProportions.width,
156
- y1 = (draggable.positionAbs || draggable.position.absolute).top, y2 = y1 + draggable.helperProportions.height;
157
- var l = droppable.offset.left, r = l + droppable.proportions.width,
205
+ var draggableLeft, draggableTop,
206
+ x1 = (draggable.positionAbs || draggable.position.absolute).left, x2 = x1 + draggable.helperProportions.width,
207
+ y1 = (draggable.positionAbs || draggable.position.absolute).top, y2 = y1 + draggable.helperProportions.height,
208
+ l = droppable.offset.left, r = l + droppable.proportions.width,
158
209
  t = droppable.offset.top, b = t + droppable.proportions.height;
159
210
 
160
211
  switch (toleranceMode) {
161
- case 'fit':
162
- return (l <= x1 && x2 <= r
163
- && t <= y1 && y2 <= b);
164
- break;
165
- case 'intersect':
166
- return (l < x1 + (draggable.helperProportions.width / 2) // Right Half
167
- && x2 - (draggable.helperProportions.width / 2) < r // Left Half
168
- && t < y1 + (draggable.helperProportions.height / 2) // Bottom Half
169
- && y2 - (draggable.helperProportions.height / 2) < b ); // Top Half
170
- break;
171
- case 'pointer':
172
- var draggableLeft = ((draggable.positionAbs || draggable.position.absolute).left + (draggable.clickOffset || draggable.offset.click).left),
173
- draggableTop = ((draggable.positionAbs || draggable.position.absolute).top + (draggable.clickOffset || draggable.offset.click).top),
174
- isOver = $.ui.isOver(draggableTop, draggableLeft, t, l, droppable.proportions.height, droppable.proportions.width);
175
- return isOver;
176
- break;
177
- case 'touch':
212
+ case "fit":
213
+ return (l <= x1 && x2 <= r && t <= y1 && y2 <= b);
214
+ case "intersect":
215
+ return (l < x1 + (draggable.helperProportions.width / 2) && // Right Half
216
+ x2 - (draggable.helperProportions.width / 2) < r && // Left Half
217
+ t < y1 + (draggable.helperProportions.height / 2) && // Bottom Half
218
+ y2 - (draggable.helperProportions.height / 2) < b ); // Top Half
219
+ case "pointer":
220
+ draggableLeft = ((draggable.positionAbs || draggable.position.absolute).left + (draggable.clickOffset || draggable.offset.click).left);
221
+ draggableTop = ((draggable.positionAbs || draggable.position.absolute).top + (draggable.clickOffset || draggable.offset.click).top);
222
+ return isOverAxis( draggableTop, t, droppable.proportions.height ) && isOverAxis( draggableLeft, l, droppable.proportions.width );
223
+ case "touch":
178
224
  return (
179
- (y1 >= t && y1 <= b) || // Top edge touching
180
- (y2 >= t && y2 <= b) || // Bottom edge touching
181
- (y1 < t && y2 > b) // Surrounded vertically
182
- ) && (
183
- (x1 >= l && x1 <= r) || // Left edge touching
184
- (x2 >= l && x2 <= r) || // Right edge touching
185
- (x1 < l && x2 > r) // Surrounded horizontally
186
- );
187
- break;
225
+ (y1 >= t && y1 <= b) || // Top edge touching
226
+ (y2 >= t && y2 <= b) || // Bottom edge touching
227
+ (y1 < t && y2 > b) // Surrounded vertically
228
+ ) && (
229
+ (x1 >= l && x1 <= r) || // Left edge touching
230
+ (x2 >= l && x2 <= r) || // Right edge touching
231
+ (x1 < l && x2 > r) // Surrounded horizontally
232
+ );
188
233
  default:
189
234
  return false;
190
- break;
191
235
  }
192
236
 
193
237
  };
@@ -197,20 +241,38 @@ $.ui.intersect = function(draggable, droppable, toleranceMode) {
197
241
  */
198
242
  $.ui.ddmanager = {
199
243
  current: null,
200
- droppables: { 'default': [] },
244
+ droppables: { "default": [] },
201
245
  prepareOffsets: function(t, event) {
202
246
 
203
- var m = $.ui.ddmanager.droppables[t.options.scope] || [];
204
- var type = event ? event.type : null; // workaround for #2317
205
- var list = (t.currentItem || t.element).find(":data(droppable)").andSelf();
247
+ var i, j,
248
+ m = $.ui.ddmanager.droppables[t.options.scope] || [],
249
+ type = event ? event.type : null, // workaround for #2317
250
+ list = (t.currentItem || t.element).find(":data(ui-droppable)").addBack();
206
251
 
207
- droppablesLoop: for (var i = 0; i < m.length; i++) {
252
+ droppablesLoop: for (i = 0; i < m.length; i++) {
208
253
 
209
- if(m[i].options.disabled || (t && !m[i].accept.call(m[i].element[0],(t.currentItem || t.element)))) continue; //No disabled and non-accepted
210
- for (var j=0; j < list.length; j++) { if(list[j] == m[i].element[0]) { m[i].proportions.height = 0; continue droppablesLoop; } }; //Filter out elements in the current dragged item
211
- m[i].visible = m[i].element.css("display") != "none"; if(!m[i].visible) continue; //If the element is not visible, continue
254
+ //No disabled and non-accepted
255
+ if(m[i].options.disabled || (t && !m[i].accept.call(m[i].element[0],(t.currentItem || t.element)))) {
256
+ continue;
257
+ }
212
258
 
213
- if(type == "mousedown") m[i]._activate.call(m[i], event); //Activate the droppable if used directly from draggables
259
+ // Filter out elements in the current dragged item
260
+ for (j=0; j < list.length; j++) {
261
+ if(list[j] === m[i].element[0]) {
262
+ m[i].proportions.height = 0;
263
+ continue droppablesLoop;
264
+ }
265
+ }
266
+
267
+ m[i].visible = m[i].element.css("display") !== "none";
268
+ if(!m[i].visible) {
269
+ continue;
270
+ }
271
+
272
+ //Activate the droppable if used directly from draggables
273
+ if(type === "mousedown") {
274
+ m[i]._activate.call(m[i], event);
275
+ }
214
276
 
215
277
  m[i].offset = m[i].element.offset();
216
278
  m[i].proportions = { width: m[i].element[0].offsetWidth, height: m[i].element[0].offsetHeight };
@@ -223,12 +285,16 @@ $.ui.ddmanager = {
223
285
  var dropped = false;
224
286
  $.each($.ui.ddmanager.droppables[draggable.options.scope] || [], function() {
225
287
 
226
- if(!this.options) return;
227
- if (!this.options.disabled && this.visible && $.ui.intersect(draggable, this, this.options.tolerance))
288
+ if(!this.options) {
289
+ return;
290
+ }
291
+ if (!this.options.disabled && this.visible && $.ui.intersect(draggable, this, this.options.tolerance)) {
228
292
  dropped = this._drop.call(this, event) || dropped;
293
+ }
229
294
 
230
295
  if (!this.options.disabled && this.visible && this.accept.call(this.element[0],(draggable.currentItem || draggable.element))) {
231
- this.isout = 1; this.isover = 0;
296
+ this.isout = true;
297
+ this.isover = false;
232
298
  this._deactivate.call(this, event);
233
299
  }
234
300
 
@@ -239,51 +305,60 @@ $.ui.ddmanager = {
239
305
  dragStart: function( draggable, event ) {
240
306
  //Listen for scrolling so that if the dragging causes scrolling the position of the droppables can be recalculated (see #5003)
241
307
  draggable.element.parentsUntil( "body" ).bind( "scroll.droppable", function() {
242
- if( !draggable.options.refreshPositions ) $.ui.ddmanager.prepareOffsets( draggable, event );
308
+ if( !draggable.options.refreshPositions ) {
309
+ $.ui.ddmanager.prepareOffsets( draggable, event );
310
+ }
243
311
  });
244
312
  },
245
313
  drag: function(draggable, event) {
246
314
 
247
315
  //If you have a highly dynamic page, you might try this option. It renders positions every time you move the mouse.
248
- if(draggable.options.refreshPositions) $.ui.ddmanager.prepareOffsets(draggable, event);
316
+ if(draggable.options.refreshPositions) {
317
+ $.ui.ddmanager.prepareOffsets(draggable, event);
318
+ }
249
319
 
250
320
  //Run through all droppables and check their positions based on specific tolerance options
251
321
  $.each($.ui.ddmanager.droppables[draggable.options.scope] || [], function() {
252
322
 
253
- if(this.options.disabled || this.greedyChild || !this.visible) return;
254
- var intersects = $.ui.intersect(draggable, this, this.options.tolerance);
323
+ if(this.options.disabled || this.greedyChild || !this.visible) {
324
+ return;
325
+ }
255
326
 
256
- var c = !intersects && this.isover == 1 ? 'isout' : (intersects && this.isover == 0 ? 'isover' : null);
257
- if(!c) return;
327
+ var parentInstance, scope, parent,
328
+ intersects = $.ui.intersect(draggable, this, this.options.tolerance),
329
+ c = !intersects && this.isover ? "isout" : (intersects && !this.isover ? "isover" : null);
330
+ if(!c) {
331
+ return;
332
+ }
258
333
 
259
- var parentInstance;
260
334
  if (this.options.greedy) {
261
335
  // find droppable parents with same scope
262
- var scope = this.options.scope;
263
- var parent = this.element.parents(':data(droppable)').filter(function () {
264
- return $.data(this, 'droppable').options.scope === scope;
336
+ scope = this.options.scope;
337
+ parent = this.element.parents(":data(ui-droppable)").filter(function () {
338
+ return $.data(this, "ui-droppable").options.scope === scope;
265
339
  });
266
340
 
267
341
  if (parent.length) {
268
- parentInstance = $.data(parent[0], 'droppable');
269
- parentInstance.greedyChild = (c == 'isover' ? 1 : 0);
342
+ parentInstance = $.data(parent[0], "ui-droppable");
343
+ parentInstance.greedyChild = (c === "isover");
270
344
  }
271
345
  }
272
346
 
273
347
  // we just moved into a greedy child
274
- if (parentInstance && c == 'isover') {
275
- parentInstance['isover'] = 0;
276
- parentInstance['isout'] = 1;
348
+ if (parentInstance && c === "isover") {
349
+ parentInstance.isover = false;
350
+ parentInstance.isout = true;
277
351
  parentInstance._out.call(parentInstance, event);
278
352
  }
279
353
 
280
- this[c] = 1; this[c == 'isout' ? 'isover' : 'isout'] = 0;
281
- this[c == "isover" ? "_over" : "_out"].call(this, event);
354
+ this[c] = true;
355
+ this[c === "isout" ? "isover" : "isout"] = false;
356
+ this[c === "isover" ? "_over" : "_out"].call(this, event);
282
357
 
283
358
  // we just moved out of a greedy child
284
- if (parentInstance && c == 'isout') {
285
- parentInstance['isout'] = 0;
286
- parentInstance['isover'] = 1;
359
+ if (parentInstance && c === "isout") {
360
+ parentInstance.isout = false;
361
+ parentInstance.isover = true;
287
362
  parentInstance._over.call(parentInstance, event);
288
363
  }
289
364
  });
@@ -292,7 +367,9 @@ $.ui.ddmanager = {
292
367
  dragStop: function( draggable, event ) {
293
368
  draggable.element.parentsUntil( "body" ).unbind( "scroll.droppable" );
294
369
  //Call prepareOffsets one final time since IE does not fire return scroll events when overflow was caused by drag (see #5003)
295
- if( !draggable.options.refreshPositions ) $.ui.ddmanager.prepareOffsets( draggable, event );
370
+ if( !draggable.options.refreshPositions ) {
371
+ $.ui.ddmanager.prepareOffsets( draggable, event );
372
+ }
296
373
  }
297
374
  };
298
375
 
@@ -1,10 +1,10 @@
1
1
  //= require jquery.ui.effect
2
2
 
3
3
  /*!
4
- * jQuery UI Effects Blind 1.9.2
4
+ * jQuery UI Effects Blind 1.10.0
5
5
  * http://jqueryui.com
6
6
  *
7
- * Copyright 2012 jQuery Foundation and other contributors
7
+ * Copyright 2013 jQuery Foundation and other contributors
8
8
  * Released under the MIT license.
9
9
  * http://jquery.org/license
10
10
  *
@@ -1,10 +1,10 @@
1
1
  //= require jquery.ui.effect
2
2
 
3
3
  /*!
4
- * jQuery UI Effects Bounce 1.9.2
4
+ * jQuery UI Effects Bounce 1.10.0
5
5
  * http://jqueryui.com
6
6
  *
7
- * Copyright 2012 jQuery Foundation and other contributors
7
+ * Copyright 2013 jQuery Foundation and other contributors
8
8
  * Released under the MIT license.
9
9
  * http://jquery.org/license
10
10
  *