diff options
author | Scott González <scott.gonzalez@gmail.com> | 2010-02-05 03:03:50 +0000 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2010-02-05 03:03:50 +0000 |
commit | 9e02f801765abb57f426a8a3116b6bcaa2698126 (patch) | |
tree | e5e7e076eb701dfc3a1d19b2873ccd380627b5a0 /ui/jquery.ui.draggable.js | |
parent | 0b976c4616bfe9c5a4fb976b338a226245cde835 (diff) | |
download | jquery-ui-9e02f801765abb57f426a8a3116b6bcaa2698126.tar.gz jquery-ui-9e02f801765abb57f426a8a3116b6bcaa2698126.zip |
Fixed event prefix in all plugins that don't use the default prefix.
Fixes #5134 - Events not being triggered for drag and drop.
Diffstat (limited to 'ui/jquery.ui.draggable.js')
-rw-r--r-- | ui/jquery.ui.draggable.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/jquery.ui.draggable.js b/ui/jquery.ui.draggable.js index 1f921a910..4ecc3e295 100644 --- a/ui/jquery.ui.draggable.js +++ b/ui/jquery.ui.draggable.js @@ -15,6 +15,7 @@ (function($) { $.widget("ui.draggable", $.ui.mouse, { + widgetEventPrefix: "drag", options: { addClasses: true, appendTo: "parent", @@ -467,8 +468,7 @@ $.widget("ui.draggable", $.ui.mouse, { }); $.extend($.ui.draggable, { - version: "@VERSION", - eventPrefix: "drag" + version: "@VERSION" }); $.ui.plugin.add("draggable", "connectToSortable", { |