Commits

Mark Lavin  committed 6552706

Allow disabling the auto-bind behavior of all seletable widgets on page load.

  • Participants
  • Parent commits f51045d

Comments (0)

Files changed (1)

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

 
 $(document).ready(function() {
     // Bind existing widgets on document ready
-    bindSelectables('body');
+    if (typeof(djselectableAutoLoad) === "undefined" || djselectableAutoLoad) {
+        bindSelectables('body');
+    }
 });