From: Bernd Bleßmann Date: Fri, 31 Jan 2014 12:15:14 +0000 (+0100) Subject: Vergessenes Semikolon in Inline-JavaScript gefixt. X-Git-Tag: release-3.1.0rc1~38 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=579920a770e1c8ddf16bc046897011ba0a8b61fd;p=kivitendo-erp.git Vergessenes Semikolon in Inline-JavaScript gefixt. --- diff --git a/bin/mozilla/do.pl b/bin/mozilla/do.pl index 26985e278..2a9c44272 100644 --- a/bin/mozilla/do.pl +++ b/bin/mozilla/do.pl @@ -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' }; diff --git a/bin/mozilla/oe.pl b/bin/mozilla/oe.pl index 8a8e6d4ae..355bc872c 100644 --- a/bin/mozilla/oe.pl +++ b/bin/mozilla/oe.pl @@ -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};