[otrs-cvs] otrs/Kernel/Output/HTML LayoutTicket.pm, 1.141.2.2, 1.141.2.3 Layout.pm, 1.381.2.13, 1.381.2.14

"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-serv3926/Kernel/Output/HTML

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

Author: mg

Index: LayoutTicket.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/Output/HTML/LayoutTicket.pm,v
retrieving revision 1.141.2.2
retrieving revision 1.141.2.3
diff -2 -u -d -r1.141.2.2 -r1.141.2.3
--- LayoutTicket.pm	10 Sep 2012 13:44:25 -0000	1.141.2.2
+++ LayoutTicket.pm	22 Nov 2012 09:24:52 -0000	1.141.2.3
@@ -211,5 +211,5 @@
         }
         $Param{OnChange}
-            = "Core.AJAX.FormUpdate($('#"
+            = "Core.AJAX.FormUpdate(\$('#"
             . $Param{Name} . "'), '"
             . $Param{Ajax}->{Subaction} . "',"

Author: mg

Index: Layout.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/Output/HTML/Layout.pm,v
retrieving revision 1.381.2.13
retrieving revision 1.381.2.14
diff -2 -u -d -r1.381.2.13 -r1.381.2.14
--- Layout.pm	21 Aug 2012 18:43:48 -0000	1.381.2.13
+++ Layout.pm	22 Nov 2012 09:24:52 -0000	1.381.2.14
@@ -2183,5 +2183,5 @@
         }
         my $Selector = $Param{ID} || $Param{Name};
-        $Param{OnChange} = "Core.AJAX.FormUpdate($('#"
+        $Param{OnChange} = "Core.AJAX.FormUpdate(\$('#"
             . $Selector . "'), '" . $Param{Ajax}->{Subaction} . "',"
             . " '$Param{Name}',"
---------------------------------------------------------------------
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.