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:
9dc2142
)
CRM-11823 - Restore generation of JS/CSS markup in the profiles' "HTML Form Snippets"
author
Tim Otten
<to-git@think.hm>
Tue, 12 Mar 2013 16:21:59 +0000
(12:21 -0400)
committer
CiviCRM
<info@civicrm.org>
Sat, 16 Mar 2013 15:55:08 +0000
(11:55 -0400)
CRM/Utils/String.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/String.php
b/CRM/Utils/String.php
index abafc42cf28fd05fbc17609482553bdd35772c6d..9289125691bbd5303919f3307a88d14e9b016237 100644
(file)
--- a/
CRM/Utils/String.php
+++ b/
CRM/Utils/String.php
@@
-488,11
+488,7
@@
class CRM_Utils_String {
*/
static function addJqueryFiles(&$html) {
CRM_Core_Resources::singleton()->addCoreResources('html-header');
- if (!defined('CIVICRM_UF_HEAD')) {
- return CRM_Core_Region::instance('html-header')->render('', FALSE) . $html;
- } else {
- return $html;
- }
+ return CRM_Core_Region::instance('html-header')->render('', FALSE) . $html;
}
/**