Quoting
authorMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 21 Feb 2007 09:19:13 +0000 (09:19 +0000)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 21 Feb 2007 09:19:13 +0000 (09:19 +0000)
bin/mozilla/is.pl

index ad80a17..2891634 100644 (file)
@@ -1157,11 +1157,11 @@ if ($form->{type} eq "credit_note") {
   # button for saving history
   if($form->{id} ne "") {
     print qq|
-         <input type=button class=submit onclick=set_history_window(|
-         . $form->{id} 
-         . qq|); name=history id=history value=|
-         . $locale->text('history') 
-         . qq|>|;
+         <input type="button" class="submit" onclick="set_history_window(|
+         . Q($form->{id})
+         . qq|);" name="history" id="history" value="|
+         . $locale->text('history')
+         . qq|">|;
   }
   # /button for saving history