Benutzerdef. Var. als HTML-Feld: Projekte
authorMoritz Bunkus <m.bunkus@linet.de>
Wed, 10 Nov 2021 13:46:03 +0000 (14:46 +0100)
committerMoritz Bunkus <m.bunkus@linet.de>
Wed, 10 Nov 2021 15:07:50 +0000 (16:07 +0100)
SL/Controller/Project.pm

index 94862e1..702db89 100644 (file)
@@ -248,7 +248,7 @@ sub display_form {
 
   CVar->render_inputs(variables => $params{CUSTOM_VARIABLES}) if @{ $params{CUSTOM_VARIABLES} };
 
-  $::request->layout->use_javascript('kivi.File.js');
+  $::request->layout->use_javascript("$_.js") for qw(kivi.File ckeditor/ckeditor ckeditor/adapters/jquery);
   $self->setup_edit_action_bar(callback => $params{callback});
 
   $self->render('project/form', %params);