From: Sven Schöling Date: Wed, 22 Jul 2015 12:29:08 +0000 (+0200) Subject: PriceRule: inline javascript mit ; terminieren X-Git-Tag: release-3.3.0beta~31^2~1 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=78d4ca713a3515cdc0a6f3c5cca0fef1bf55c6a4;p=kivitendo-erp.git PriceRule: inline javascript mit ; terminieren --- diff --git a/bin/mozilla/ic.pl b/bin/mozilla/ic.pl index 7accb4bba..1489a024d 100644 --- a/bin/mozilla/ic.pl +++ b/bin/mozilla/ic.pl @@ -1644,7 +1644,7 @@ sub form_header { if (scalar @{ $form->{CUSTOM_VARIABLES} }); $::request->layout->use_javascript("${_}.js") for qw(ckeditor/ckeditor ckeditor/adapters/jquery kivi.PriceRule); - $::request->layout->add_javascripts_inline("\$(function(){kivi.PriceRule.load_price_rules_for_part(@{[ $::form->{id} * 1 ]})})") if $::form->{id}; + $::request->layout->add_javascripts_inline("\$(function(){kivi.PriceRule.load_price_rules_for_part(@{[ $::form->{id} * 1 ]})});") if $::form->{id}; $form->header; #print $form->parse_html_template('ic/form_header', { ALL_PRICE_FACTORS => $form->{ALL_PRICE_FACTORS}, # ALL_UNITS => $form->{ALL_UNITS},