]> source.dussan.org Git - jquery-ui.git/commitdiff
Droppable .is(accept) on init() fixed
authorEduardo Lundgren <eduardolundgren@gmail.com>
Mon, 14 Jul 2008 15:55:33 +0000 (15:55 +0000)
committerEduardo Lundgren <eduardolundgren@gmail.com>
Mon, 14 Jul 2008 15:55:33 +0000 (15:55 +0000)
ui/ui.droppable.js

index e3cb08873a46f374c20fa8bd5325163fe8b189e3..6833c4dfd37f408d9d8f98f0236f6e4e2ea8ff78 100644 (file)
@@ -15,7 +15,8 @@
 
 $.widget("ui.droppable", {
        init: function() {
-
+               
+               var o = this.options, accept = o.accept;
                this.isover = 0; this.isout = 1;
 
                this.options.accept = this.options.accept && this.options.accept.constructor == Function ? this.options.accept : function(d) {