[Tickets #1093] NEW: JavaScript not commented out in common-footer.inc

bugs at bugs.horde.org bugs at bugs.horde.org
Thu Jan 6 11:12:17 PST 2005


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

Ticket URL: http://bugs.horde.org/ticket/?id=1093
-----------------------------------------------------------------------
 Ticket     | 1093
 Created By | dustin at ywlcs.org
 Summary    | JavaScript not commented out in common-footer.inc
 Queue      | Horde Base
 Version    | 3.0.1
 State      | Unconfirmed
 Priority   | 2. Medium
 Type       | Bug
 Owners     | 
-----------------------------------------------------------------------


dustin at ywlcs.org (2005-01-06 11:12) wrote:

The JavaScript1.5 block in common-footer.inc appears in browsers unable to
run JavaScript1.5 (we run IE 6.0.3790.0).

Adding the <!-- and --> seem to help.

Patch (see, even though it's trivial! :) ) follows:

*** templates/common-footer.inc.original	2005-01-06 13:05:43.000000000
-0600
--- templates/common-footer.inc	2005-01-06 13:06:29.000000000 -0600
***************
*** 1,4 ****
--- 1,5 ----
  <?php if (!empty($title)): ?>
  <script language="JavaScript1.5" type="text/javascript">
+ <!--
  var _setHordeTitle = 1;
  try {
***************
*** 6,9 ****
--- 7,11 ----
  } catch (e) {
  }
+ -->
  </script>
  <script language="JavaScript" type="text/javascript">





More information about the bugs mailing list