[Tickets #713] NEW: [PATCH] Output Javascript headers

bugs at bugs.horde.org bugs at bugs.horde.org
Thu Oct 21 10:22:41 PDT 2004


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=713
-----------------------------------------------------------------------
 Ticket     | 713
 Created By | seifert at everybody.org
 Summary    | [PATCH] Output Javascript headers
 Queue      | Mottle
 State      | Unconfirmed
 Priority   | 2. Medium
 Type       | Bug
 Owners     | 
-----------------------------------------------------------------------


seifert at everybody.org (2004-10-21 10:22) wrote:

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 "<meta http-equiv=\"refresh\"
content=\"$refresh_time;url=$refresh_url\">\n";
  }
+ Horde::includeScriptFiles();
  ?>
  <title><?php echo $page_title ?></title>
  <?php echo Horde::stylesheetLink('mottle') ?>





More information about the bugs mailing list