From e352b9cd5f3ab05ff85b0db807cd06a100f5ae07 Mon Sep 17 00:00:00 2001
From: Coleman Watts <coleman@civicrm.org>
Date: Mon, 16 Dec 2013 19:53:51 -0800
Subject: [PATCH] CRM-13929 - fix drupal jQuery vs cj collision

---
 templates/CRM/common/TabHeader.tpl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/CRM/common/TabHeader.tpl b/templates/CRM/common/TabHeader.tpl
index ad9f9c91c2..d025b5fc87 100644
--- a/templates/CRM/common/TabHeader.tpl
+++ b/templates/CRM/common/TabHeader.tpl
@@ -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
-- 
2.25.1