1 // http://civicrm.org/licensing
2 // Adds ajaxy behavior to a simple CiviCRM page
4 var active
= 'a.button, a.action-item, a.crm-popup';
5 $('#crm-main-content-wrapper')
6 // Widgetize the content area
8 // Open action links in a popup
10 .on('click.crmLivePage', active
, CRM
.popup
)
11 .on('crmPopupFormSuccess.crmLivePage', active
, CRM
.refreshParent
);