Vergessenes Semikolon in Inline-JavaScript gefixt.
authorBernd Bleßmann <bernd@kivitendo-premium.de>
Fri, 31 Jan 2014 12:15:14 +0000 (13:15 +0100)
committerBernd Bleßmann <bernd@kivitendo-premium.de>
Fri, 31 Jan 2014 12:15:14 +0000 (13:15 +0100)
bin/mozilla/do.pl
bin/mozilla/oe.pl

index 26985e2..2a9c442 100644 (file)
@@ -302,7 +302,7 @@ sub form_header {
     # emulate click for resubmitting actions
     $dispatch_to_popup  = "document.do.${_}.click(); " for grep { /^action_/ } keys %$form;
   }
-  $::request->{layout}->add_javascripts_inline("\$(function(){$dispatch_to_popup})");
+  $::request->{layout}->add_javascripts_inline("\$(function(){$dispatch_to_popup});");
 
 
   my $follow_up_vc                =  $form->{ $form->{vc} eq 'customer' ? 'customer' : 'vendor' };
index 8a8e6d4..355bc87 100644 (file)
@@ -415,7 +415,7 @@ sub form_header {
     $::request->{layout}->add_javascripts_inline("alert('$credittext');");
   }
 
-  $::request->{layout}->add_javascripts_inline("\$(function(){$dispatch_to_popup})");
+  $::request->{layout}->add_javascripts_inline("\$(function(){$dispatch_to_popup});");
   $TMPL_VAR{dateformat}          = $myconfig{dateformat};
   $TMPL_VAR{numberformat}        = $myconfig{numberformat};