Commits

Mark Lavin  committed 31b37bc

Detect and use the django-grappelli namespace. See #62

  • Participants
  • Parent commits 92808f2

Comments (0)

Files changed (2)

         html_unescape: true,
         // Optional globals
         djselectableAdminPatch: true,
-        djselectableAutoLoad: true
+        djselectableAutoLoad: true,
+        // Grappelli namespace
+        grp: true
       }
     },
     server: {

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

             window.bindSelectables('body');
         }
     });
-})(jQuery);
+})(jQuery || grp.jQuery);