Commits

Mark Lavin  committed c52c69e

Fix incompatibility with latest jQuery UI. Fixes #73.

  • Participants
  • Parent commits 13b55b4
  • Branches stable

Comments (0)

Files changed (1)

File selectable/static/selectable/js/jquery.dj.selectable.js

                 $(input).data('page', null);
                 ul.zIndex(this.element.zIndex() + 1);
                 this._renderMenu(ul, items);
-                this.menu.deactivate();
+                // jQuery UI menu does not define deactivate 
+                if (this.menu.deactivate) this.menu.deactivate();
                 this.menu.refresh();
                 // size and position menu
                 ul.show();