Fix enableDisableApi to fire crmPopupFormSuccess event
[civicrm-core.git] / js / crm.livePage.js
index 5133f5d37113e9ceda5e863f35304059ed47402a..35c8b39312dd7cc3a333c4d5dc255b364798e929 100644 (file)
@@ -1,7 +1,7 @@
 // http://civicrm.org/licensing
 // Adds ajaxy behavior to a simple CiviCRM page
 CRM.$(function($) {
-  var active = 'a.button, a.action-item, a.crm-popup';
+  var active = 'a.button, a.action-item:not(.crm-enable-disable), a.crm-popup';
   $('#crm-main-content-wrapper')
     // Widgetize the content area
     .crmSnippet()