projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b89fa7a
)
CRM-15524 - Avoid loading profileSelector scripts in ajax mode
author
Coleman Watts
<coleman@civicrm.org>
Tue, 4 Nov 2014 02:05:31 +0000
(21:05 -0500)
committer
Coleman Watts
<coleman@civicrm.org>
Tue, 4 Nov 2014 02:05:31 +0000
(21:05 -0500)
This commit tweaks the call of CRM_Core_Resources::isAjaxMode to use the simpler static method.
CRM/UF/Page/ProfileEditor.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/UF/Page/ProfileEditor.php
b/CRM/UF/Page/ProfileEditor.php
index 3ee072bd2947df80e547c74b61b3dbb4f4ae951a..441e6b7e2eb98623b5bc4a198c0cb1c53ed1225b 100644
(file)
--- a/
CRM/UF/Page/ProfileEditor.php
+++ b/
CRM/UF/Page/ProfileEditor.php
@@
-13,7
+13,7
@@
class CRM_UF_Page_ProfileEditor extends CRM_Core_Page {
static function registerProfileScripts() {
static $loaded = FALSE;
- if ($loaded || CRM_Core_Resources::
singleton()->
isAjaxMode()) {
+ if ($loaded || CRM_Core_Resources::isAjaxMode()) {
return;
}
$loaded = TRUE;