Commits

jonasvp  committed c1c4142

Use "jQuery" instead of "$" so JS works even when jQuery.noConflict() has been used.

  • Participants
  • Parent commits 8bcc0fb

Comments (0)

Files changed (1)

File admin_tools/dashboard/static/admin_tools/js/dashboard.js

 var init_dashboard = function(id, columns, preferences, url) {
-    $('#'+id).dashboard({
+    jQuery('#'+id).dashboard({
         'columns': columns,
         'load_preferences_function': function(options) {
             return preferences;
             jQuery.post(url, { data: JSON.stringify(preferences) });
         }
     });
-    $(".group-tabs").tabs();
-    $(".group-accordion").accordion({header: '.group-accordion-header'});
+    jQuery(".group-tabs").tabs();
+    jQuery(".group-accordion").accordion({header: '.group-accordion-header'});
 };