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:
c10f9ca
)
CRM-15450 - Also disable D6 adding inline styles for good measure
author
Coleman Watts
<coleman@civicrm.org>
Mon, 13 Oct 2014 18:44:39 +0000
(14:44 -0400)
committer
Coleman Watts
<coleman@civicrm.org>
Mon, 13 Oct 2014 18:44:39 +0000
(14:44 -0400)
CRM/Utils/System/Drupal6.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/System/Drupal6.php
b/CRM/Utils/System/Drupal6.php
index 5c40eaa8c4de468fe296acddb393dd28c7a674eb..bb1a79fde94984e21f3097ff1df01aad113d21ed 100644
(file)
--- a/
CRM/Utils/System/Drupal6.php
+++ b/
CRM/Utils/System/Drupal6.php
@@
-359,16
+359,8
@@
class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase {
* @access public
*/
public function addScript($code, $region) {
- switch ($region) {
- case 'html-header':
- case 'page-footer':
- $scope = substr($region, 5);
- break;
- default:
- return FALSE;
- }
- drupal_add_js($code, 'inline', $scope);
- return TRUE;
+ // CRM-15450 - ensure scripts are in correct order
+ return FALSE;
}
/**