Revision fdb9921e
Von Sven Schöling vor etwa 1 Jahr hinzugefügt
bin/mozilla/am.pl | ||
---|---|---|
672 | 672 |
$form->{title} = $locale->text('Edit Preferences for #1', $::myconfig{login}); |
673 | 673 |
$form->{follow_up_notify_by_email} = $myconfig{follow_up_notify_by_email}; |
674 | 674 |
|
675 |
$::request->{layout}->use_javascript("${_}.js") for qw(jquery.multiselect2side ckeditor/ckeditor ckeditor/adapters/jquery);
|
|
675 |
$::request->{layout}->use_javascript("${_}.js") for qw(jquery.multiselect2side ckeditor5/ckeditor ckeditor5/translations/de);
|
|
676 | 676 |
|
677 | 677 |
setup_am_config_action_bar(); |
678 | 678 |
$form->header(); |
bin/mozilla/dn.pl | ||
---|---|---|
321 | 321 |
$form->{"title"} = $locale->text("Set eMail text"); |
322 | 322 |
$form->header( |
323 | 323 |
no_layout => 1, |
324 |
use_javascripts => [ qw(ckeditor/ckeditor ckeditor/adapters/jquery) ],
|
|
324 |
use_javascripts => [ qw(ckeditor5/ckeditor ckeditor5/translations/de) ],
|
|
325 | 325 |
); |
326 | 326 |
print($form->parse_html_template("dunning/set_email")); |
327 | 327 |
|
bin/mozilla/do.pl | ||
---|---|---|
551 | 551 |
$form->{follow_up_trans_info} = $form->{donumber} .'('. $form->{VC_OBJ}->name .')' if $form->{VC_OBJ}; |
552 | 552 |
$form->{longdescription_dialog_size_percentage} = SL::Helper::UserPreferences::DisplayPreferences->new()->get_longdescription_dialog_size_percentage(); |
553 | 553 |
|
554 |
$::request->{layout}->use_javascript(map { "${_}.js" } qw(kivi.File kivi.MassDeliveryOrderPrint kivi.SalesPurchase kivi.Part kivi.CustomerVendor kivi.Validator ckeditor/ckeditor ckeditor/adapters/jquery kivi.io));
|
|
554 |
$::request->{layout}->use_javascript(map { "${_}.js" } qw(kivi.File kivi.MassDeliveryOrderPrint kivi.SalesPurchase kivi.Part kivi.CustomerVendor kivi.Validator ckeditor5/ckeditor ckeditor5/translations/de kivi.io));
|
|
555 | 555 |
|
556 | 556 |
setup_do_action_bar(); |
557 | 557 |
|
bin/mozilla/generictranslations.pl | ||
---|---|---|
183 | 183 |
setup_generictranslations_edit_email_strings_action_bar(); |
184 | 184 |
|
185 | 185 |
$form->{title} = $locale->text('Edit preset email strings'); |
186 |
$::request->{layout}->use_javascript(map { "${_}.js" } qw(ckeditor/ckeditor ckeditor/adapters/jquery));
|
|
186 |
$::request->{layout}->use_javascript(map { "${_}.js" } qw(ckeditor5/ckeditor ckeditor5/translations/de));
|
|
187 | 187 |
$form->header(); |
188 | 188 |
print $form->parse_html_template('generictranslations/edit_email_strings',{ 'MAIL_STRINGS' => \%mail_strings }); |
189 | 189 |
|
bin/mozilla/ir.pl | ||
---|---|---|
530 | 530 |
$TMPL_VAR->{payment_terms_obj} = get_payment_terms_for_invoice(); |
531 | 531 |
$form->{duedate} = $TMPL_VAR->{payment_terms_obj}->calc_date(reference_date => $form->{invdate}, due_date => $form->{duedate})->to_kivitendo if $TMPL_VAR->{payment_terms_obj}; |
532 | 532 |
|
533 |
$::request->{layout}->use_javascript(map { "${_}.js" } qw(kivi.Draft kivi.File kivi.SalesPurchase kivi.Part kivi.CustomerVendor kivi.Validator ckeditor/ckeditor ckeditor/adapters/jquery kivi.io autocomplete_project client_js autocomplete_chart));
|
|
533 |
$::request->{layout}->use_javascript(map { "${_}.js" } qw(kivi.Draft kivi.File kivi.SalesPurchase kivi.Part kivi.CustomerVendor kivi.Validator ckeditor5/ckeditor ckeditor5/translations/de kivi.io autocomplete_project client_js autocomplete_chart));
|
|
534 | 534 |
|
535 | 535 |
setup_ir_action_bar($TMPL_VAR); |
536 | 536 |
|
bin/mozilla/oe.pl | ||
---|---|---|
644 | 644 |
} |
645 | 645 |
} |
646 | 646 |
|
647 |
$::request->{layout}->use_javascript(map { "${_}.js" } qw(kivi.SalesPurchase kivi.File kivi.Part kivi.CustomerVendor kivi.Validator show_form_details show_history show_vc_details ckeditor/ckeditor ckeditor/adapters/jquery kivi.io));
|
|
647 |
$::request->{layout}->use_javascript(map { "${_}.js" } qw(kivi.SalesPurchase kivi.File kivi.Part kivi.CustomerVendor kivi.Validator show_form_details show_history show_vc_details ckeditor5/ckeditor ckeditor5/translations/de kivi.io));
|
|
648 | 648 |
|
649 | 649 |
|
650 | 650 |
# original snippets: |
bin/mozilla/rp.pl | ||
---|---|---|
1005 | 1005 |
my $locale = $main::locale; |
1006 | 1006 |
my $cgi = $::request->{cgi}; |
1007 | 1007 |
|
1008 |
$::request->{layout}->use_javascript("${_}.js") for qw(ckeditor/ckeditor ckeditor/adapters/jquery);
|
|
1008 |
$::request->{layout}->use_javascript("${_}.js") for qw(ckeditor5/ckeditor ckeditor5/translations/de);
|
|
1009 | 1009 |
|
1010 | 1010 |
my $report = SL::ReportGenerator->new(\%myconfig, $form); |
1011 | 1011 |
|
Auch abrufbar als: Unified diff
ckeditor5: update der javascripte in bin/mozilla/ controllern
Da die meist im footer sind, kann P.textarea_tag das javascript noch
nicht registrieren