[freeside-commits] freeside/rt/html/Elements Header,1.17,1.18

Ivan,,, ivan at wavetail.420.am
Wed Jul 8 19:34:07 PDT 2009


Update of /home/cvs/cvsroot/freeside/rt/html/Elements
In directory wavetail.420.am:/tmp/cvs-serv20687

Modified Files:
	Header 
Log Message:
doh, fix RT onLoadHook; this fixes "Undefined subroutine &HTML::Mason::Commands::onLoadHook" error on ticket creation and otherwise, RT#1169

Index: Header
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/html/Elements/Header,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- Header	8 Jul 2009 11:12:46 -0000	1.17
+++ Header	9 Jul 2009 02:34:04 -0000	1.18
@@ -95,10 +95,10 @@
 END
 
 if ( $Focus ) {
-    $head .= onLoadHook("focusElementById('$Focus')");
+    $head .= qq{    onLoadHook("focusElementById('$Focus')");\n};
 }
 if ( $onload ) {
-    $head .= onLoadHook("$onload");
+    $head .= qq{    onLoadHook("$onload");\n};
 }
 
 $head .= '--></script>';



More information about the freeside-commits mailing list