/usr/share/civicrm/js/crm.livePage.js is in civicrm-common 4.7.30+dfsg-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | // http://civicrm.org/licensing
// Adds ajaxy behavior to a simple CiviCRM page
CRM.$(function($) {
var active = 'a.button, a.action-item:not(.crm-enable-disable), a.crm-popup';
$('#crm-main-content-wrapper')
// Widgetize the content area
.crmSnippet()
// Open action links in a popup
.off('.crmLivePage')
.on('click.crmLivePage', active, CRM.popup)
.on('crmPopupFormSuccess.crmLivePage', active, CRM.refreshParent);
});
|