[otrs-cvs] otrs/Kernel/Output/HTML Layout.pm, 1.417, 1.418 LayoutTicket.pm, 1.149, 1.150

"CVS commits notifications of OTRS.org" <[email protected]>
Newsgroups gmane.comp.otrs.cvs
Message-ID <[email protected]>
Comments:
Update of /home/cvs/otrs/Kernel/Output/HTML
In directory lancelot:/tmp/cvs-serv3847/Kernel/Output/HTML

Modified Files:
	Layout.pm LayoutTicket.pm 
Log Message:
 - 2012-11-22 Fixed bug#8937 - "$" should be escaped in interpolated strings when javascript is meant.

Author: mg

Index: Layout.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/Output/HTML/Layout.pm,v
retrieving revision 1.417
retrieving revision 1.418
diff -2 -u -d -r1.417 -r1.418
--- Layout.pm	20 Nov 2012 16:24:57 -0000	1.417
+++ Layout.pm	22 Nov 2012 09:24:02 -0000	1.418
@@ -2254,5 +2254,5 @@
         }
         my $Selector = $Param{ID} || $Param{Name};
-        $Param{OnChange} = "Core.AJAX.FormUpdate($('#"
+        $Param{OnChange} = "Core.AJAX.FormUpdate(\$('#"
             . $Selector . "'), '" . $Param{Ajax}->{Subaction} . "',"
             . " '$Param{Name}',"

Author: mg

Index: LayoutTicket.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/Output/HTML/LayoutTicket.pm,v
retrieving revision 1.149
retrieving revision 1.150
diff -2 -u -d -r1.149 -r1.150
--- LayoutTicket.pm	20 Nov 2012 14:59:47 -0000	1.149
+++ LayoutTicket.pm	22 Nov 2012 09:24:02 -0000	1.150
@@ -211,5 +211,5 @@
         }
         $Param{OnChange}
-            = "Core.AJAX.FormUpdate($('#"
+            = "Core.AJAX.FormUpdate(\$('#"
             . $Param{Name} . "'), '"
             . $Param{Ajax}->{Subaction} . "',"
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.