projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CRM-13863 - Whitelist open-inline contribution links
[civicrm-core.git]
/
CRM
/
Admin
/
Page
/
ParticipantStatus.php
diff --git
a/CRM/Admin/Page/ParticipantStatus.php
b/CRM/Admin/Page/ParticipantStatus.php
index 5140c14b754f7012a95ff8a33cb590d5bd0421c6..6eeefd2b05517589ce6d94517d5b946add9aeae6 100644
(file)
--- a/
CRM/Admin/Page/ParticipantStatus.php
+++ b/
CRM/Admin/Page/ParticipantStatus.php
@@
-69,7
+69,9
@@
class CRM_Admin_Page_ParticipantStatus extends CRM_Core_Page_Basic {
}
function browse() {
}
function browse() {
- CRM_Core_Resources::singleton()->addScriptFile('civicrm', 'js/crm.livePage.js');
+ if (CRM_Core_BAO_Setting::getItem(CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME, 'ajax_popups_enabled', NULL, TRUE)) {
+ CRM_Core_Resources::singleton()->addScriptFile('civicrm', 'js/crm.livePage.js');
+ }
$statusTypes = array();
$dao = new CRM_Event_DAO_ParticipantStatusType;
$statusTypes = array();
$dao = new CRM_Event_DAO_ParticipantStatusType;