dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Revert "Revert "Show a "(blocked)" hint on Special:ListUsers/ActiveUsers"""
[lhc/web/wiklou.git]
/
resources
/
jquery.ui
/
jquery.ui.draggable.js
diff --git
a/resources/jquery.ui/jquery.ui.draggable.js
b/resources/jquery.ui/jquery.ui.draggable.js
index
dee9777
..
149035c
100644
(file)
--- a/
resources/jquery.ui/jquery.ui.draggable.js
+++ b/
resources/jquery.ui/jquery.ui.draggable.js
@@
-1,5
+1,5
@@
/*!
/*!
- * jQuery UI Draggable 1.8.2
0
+ * jQuery UI Draggable 1.8.2
4
*
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
*
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
@@
-103,6
+103,8
@@
$.widget("ui.draggable", $.ui.mouse, {
//Create and append the visible helper
this.helper = this._createHelper(event);
//Create and append the visible helper
this.helper = this._createHelper(event);
+ this.helper.addClass("ui-draggable-dragging");
+
//Cache the helper size
this._cacheHelperProportions();
//Cache the helper size
this._cacheHelperProportions();
@@
-163,7
+165,7
@@
$.widget("ui.draggable", $.ui.mouse, {
if ($.ui.ddmanager && !o.dropBehaviour)
$.ui.ddmanager.prepareOffsets(this, event);
if ($.ui.ddmanager && !o.dropBehaviour)
$.ui.ddmanager.prepareOffsets(this, event);
- this.helper.addClass("ui-draggable-dragging");
+
this._mouseDrag(event, true); //Execute the drag once - this causes the helper not to be visible before getting its correct position
//If the ddmanager is used for droppables, inform the manager that dragging has started (see #5003)
this._mouseDrag(event, true); //Execute the drag once - this causes the helper not to be visible before getting its correct position
//If the ddmanager is used for droppables, inform the manager that dragging has started (see #5003)
@@
-235,11
+237,10
@@
$.widget("ui.draggable", $.ui.mouse, {
},
_mouseUp: function(event) {
},
_mouseUp: function(event) {
- if (this.options.iframeFix === true) {
- $("div.ui-draggable-iframeFix").each(function() {
- this.parentNode.removeChild(this);
- }); //Remove frame helpers
- }
+ //Remove frame helpers
+ $("div.ui-draggable-iframeFix").each(function() {
+ this.parentNode.removeChild(this);
+ });
//If the ddmanager is used for droppables, inform the manager that dragging has stopped (see #5003)
if( $.ui.ddmanager ) $.ui.ddmanager.dragStop(this, event);
//If the ddmanager is used for droppables, inform the manager that dragging has stopped (see #5003)
if( $.ui.ddmanager ) $.ui.ddmanager.dragStop(this, event);
@@
-511,7
+512,7
@@
$.widget("ui.draggable", $.ui.mouse, {
});
$.extend($.ui.draggable, {
});
$.extend($.ui.draggable, {
- version: "1.8.2
0
"
+ version: "1.8.2
4
"
});
$.ui.plugin.add("draggable", "connectToSortable", {
});
$.ui.plugin.add("draggable", "connectToSortable", {