Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 5b97045d

Von Sven Schöling vor etwa 1 Jahr hinzugefügt

  • ID 5b97045dcb79f52322084fe507852aaa353f9ff2
  • Vorgänger 4aa0463a
  • Nachfolger fdb9921e

Revert "ckeditor5: add_javascript in bin/mozilla controllern entfernt"

This reverts commit 6c0032c716231d72f4d070f0d337b6e8db916fa7.

Unterschiede anzeigen:

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);
675
  $::request->{layout}->use_javascript("${_}.js") for qw(jquery.multiselect2side ckeditor/ckeditor ckeditor/adapters/jquery);
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 => [],
324
    use_javascripts => [ qw(ckeditor/ckeditor ckeditor/adapters/jquery) ],
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 kivi.io));
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));
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 187
  $form->header();
187 188
  print $form->parse_html_template('generictranslations/edit_email_strings',{ 'MAIL_STRINGS' => \%mail_strings });
188 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 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 ckeditor/ckeditor ckeditor/adapters/jquery 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 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 ckeditor/ckeditor ckeditor/adapters/jquery 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);
1009

  
1008 1010
  my $report = SL::ReportGenerator->new(\%myconfig, $form);
1009 1011

  
1010 1012
  my @columns = qw(statement ct invnumber transdate duedate amount open datepaid current_open type);

Auch abrufbar als: Unified diff