6.0.0-beta1
8/9/25

[#713] [PATCH] Output Javascript headers
Summary [PATCH] Output Javascript headers
Queue Mottle
Type Bug
State Resolved
Priority 2. Medium
Owners
Requester seifert (at) everybody (dot) org
Created 10/21/2004 (7597 days ago)
Due
Updated 10/21/2004 (7597 days ago)
Assigned
Resolved 10/21/2004 (7597 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
10/21/2004 05:34:19 PM Chuck Hagenbuch Comment #2
State ⇒ Resolved
Reply to this comment
Fixed in CVS, thanks.
10/21/2004 05:22:40 PM seifert (at) everybody (dot) org Comment #1
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ [PATCH] Output Javascript headers
Queue ⇒ Mottle
Reply to this comment
Javascript headers aren't being properly emitted for Mottle.  (See 
list.php, where popup.js doesn't get included when at least one 
message exists in the list, and is used by the Edit Permissions link).



Patch to fix this below.



Index: common-header.inc

===================================================================

RCS file: /repository/mottle/templates/common-header.inc,v

retrieving revision 1.6

diff -c -r1.6 common-header.inc

*** common-header.inc   19 Oct 2004 00:45:56 -0000      1.6

--- common-header.inc   21 Oct 2004 17:18:45 -0000

***************

*** 17,22 ****

--- 17,23 ----

   if (!empty($refresh_time) && ($refresh_time > 0) && !empty($refresh_url)) {

       echo "<!--a75c305b1c0a6022--><meta http-equiv=\"refresh\" 
content=\"$refresh_time;url=$refresh_url\">\n";

   }

+ Horde::includeScriptFiles();

   ?>

   <title><?php echo $page_title ?></title>

   <?php echo Horde::stylesheetLink('mottle') ?>


Saved Queries