From: Moritz Bunkus Date: Wed, 15 Jan 2014 12:04:17 +0000 (+0100) Subject: Refactoring: JavaScript-Dateien über Layout-Objekt hinzufügen X-Git-Tag: release-3.1.0beta1~21^2~4^2~2 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=16b7cb9b3cc58b852adbd09e628b96b47062b5b1;p=kivitendo-erp.git Refactoring: JavaScript-Dateien über Layout-Objekt hinzufügen --- diff --git a/bin/mozilla/oe.pl b/bin/mozilla/oe.pl index 92ce872f5..8a8e6d4ae 100644 --- a/bin/mozilla/oe.pl +++ b/bin/mozilla/oe.pl @@ -429,10 +429,7 @@ sub form_header { } } - $form->{javascript} .= qq||; - $form->{javascript} .= qq||; - $form->{javascript} .= qq||; - $::request->{layout}->use_javascript(map { "${_}.js" } qw(kivi.SalesPurchase)); + $::request->{layout}->use_javascript(map { "${_}.js" } qw(kivi.SalesPurchase show_form_details show_history show_vc_details)); $form->header; if ($form->{CFDD_shipto} && $form->{CFDD_shipto_id} ) {