From 579920a770e1c8ddf16bc046897011ba0a8b61fd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Fri, 31 Jan 2014 13:15:14 +0100 Subject: [PATCH] Vergessenes Semikolon in Inline-JavaScript gefixt. --- bin/mozilla/do.pl | 2 +- bin/mozilla/oe.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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}; -- 2.20.1