CRM-13929 - fix drupal jQuery vs cj collision
authorColeman Watts <coleman@civicrm.org>
Tue, 17 Dec 2013 03:53:51 +0000 (19:53 -0800)
committerColeman Watts <coleman@civicrm.org>
Tue, 17 Dec 2013 03:53:51 +0000 (19:53 -0800)
templates/CRM/common/TabHeader.tpl

index ad9f9c91c277ad5912d77f4539a6991c5a0c6483..d025b5fc878fac8d2c5d3065c27705cfa80c3b4b 100644 (file)
@@ -89,7 +89,7 @@ cj( function() {
         },
         load: function(event, ui) {
           if ((typeof(Drupal) != 'undefined') && Drupal.attachBehaviors) {
-            Drupal.attachBehaviors(ui.panel);
+            Drupal.attachBehaviors(ui.panel[0]);
           }
           cj(ui.panel).trigger('crmFormLoad');
           // FIXME - decouple scanProfileSelectors and TabHeader