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.droppable.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.droppable.js')
-rw-r--r-- | ui/jquery.ui.droppable.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/jquery.ui.droppable.js b/ui/jquery.ui.droppable.js index e8d17da23..4cd7f56e2 100644 --- a/ui/jquery.ui.droppable.js +++ b/ui/jquery.ui.droppable.js @@ -16,6 +16,7 @@ (function($) { $.widget("ui.droppable", { + widgetEventPrefix: "drop", options: { accept: '*', activeClass: false, @@ -146,8 +147,7 @@ $.widget("ui.droppable", { }); $.extend($.ui.droppable, { - version: "@VERSION", - eventPrefix: 'drop' + version: "@VERSION" }); $.ui.intersect = function(draggable, droppable, toleranceMode) { |