projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a2cff8
)
Fix adding scripts while running dimp but not on a dimp page (i.e. contacts.php)
author
Michael M Slusarz
<slusarz@curecanti.org>
Fri, 12 Mar 2010 18:45:10 +0000
(11:45 -0700)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Fri, 12 Mar 2010 19:28:16 +0000
(12:28 -0700)
imp/templates/common-header.inc
patch
|
blob
|
history
diff --git
a/imp/templates/common-header.inc
b/imp/templates/common-header.inc
index
e2a6895
..
23bc4f8
100644
(file)
--- a/
imp/templates/common-header.inc
+++ b/
imp/templates/common-header.inc
@@
-40,6
+40,9
@@
if (!empty($refresh_time) && !empty($refresh_url)) {
switch ($imp_view) {
case 'dimp':
Horde_Themes::includeStylesheetFiles(array('sub' => 'dimp'));
+ if (!in_array(basename($_SERVER['PHP_SELF']), array('compose-dimp.php', 'index-dimp.php', 'message-dimp.php'))) {
+ Horde::includeScriptFiles();
+ }
break;
case 'mimp':