From: Moritz Bunkus Date: Wed, 10 Nov 2021 13:42:27 +0000 (+0100) Subject: Benutzerdef. Var. als HTML-Feld: Kunden-/Lieferantenstammdaten-Controller X-Git-Tag: kivitendo-mebil_0.1-0~10^2~2^2~269^2~5 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=f114da3b11349c34662390c01fda99bc51d76a08;p=kivitendo-erp.git Benutzerdef. Var. als HTML-Feld: Kunden-/Lieferantenstammdaten-Controller Betrifft Typen für Kunden-/Lieferantenstammdaten, Ansprechpersonen und Lieferadressen. --- diff --git a/SL/Controller/CustomerVendor.pm b/SL/Controller/CustomerVendor.pm index f2efeb014..608803abb 100644 --- a/SL/Controller/CustomerVendor.pm +++ b/SL/Controller/CustomerVendor.pm @@ -1205,9 +1205,7 @@ sub _pre_render { $self->{template_args} ||= {}; - $::request->{layout}->add_javascripts('kivi.CustomerVendor.js'); - $::request->{layout}->add_javascripts('kivi.File.js'); - $::request->{layout}->add_javascripts('kivi.CustomerVendorTurnover.js'); + $::request->{layout}->add_javascripts("$_.js") for qw (kivi.CustomerVendor kivi.File kivi.CustomerVendorTurnover ckeditor/ckeditor ckeditor/adapters/jquery); $self->_setup_form_action_bar; }