X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=js%2Fcrm.drupal.js;h=2f14c499216e2e38bba0c202fc3a4d9b8cc9201d;hb=58cb13f8bfa693af1dcf19e5eb24e13d77da2d14;hp=0d8dadcf9e423416e3f60c60b099d597f81c522c;hpb=e79a2572465ae0ba02e6f2b00640d490a21c8c71;p=civicrm-core.git diff --git a/js/crm.drupal.js b/js/crm.drupal.js index 0d8dadcf9e..2f14c49921 100644 --- a/js/crm.drupal.js +++ b/js/crm.drupal.js @@ -1,10 +1,6 @@ // http://civicrm.org/licensing CRM.$(function($) { $(document) - .on('crmLoad', function() { - // This is drupal's old-school way of listening for 'load' type events. It has to be called manually. - Drupal.attachBehaviors(this); - }) .on('dialogopen', function(e) { // D7 hack to get the toolbar out of the way (CRM-15341) $('#toolbar').css('z-index', '100'); @@ -14,5 +10,5 @@ CRM.$(function($) { // D7 hack, restore toolbar position (CRM-15341) $('#toolbar').css('z-index', ''); } - }) + }); });