PriceRule: inline javascript mit ; terminieren
authorSven Schöling <s.schoeling@linet-services.de>
Wed, 22 Jul 2015 12:29:08 +0000 (14:29 +0200)
committerSven Schöling <s.schoeling@linet-services.de>
Wed, 22 Jul 2015 12:29:08 +0000 (14:29 +0200)
bin/mozilla/ic.pl

index 7accb4b..1489a02 100644 (file)
@@ -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},