Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision d97c352c

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

  • ID d97c352c51a28cb500537c30da222de6f2c671ec
  • Vorgänger 430ef857
  • Nachfolger 4cada74a

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
522 522
  $TMPL_VAR->{payment_terms_obj} = get_payment_terms_for_invoice();
523 523
  $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};
524 524

  
525
  $::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));
525
  $::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));
526 526

  
527 527
  setup_ir_action_bar($TMPL_VAR);
528 528

  
bin/mozilla/is.pl
694 694
  ), @custom_hiddens,
695 695
  map { $_.'_rate', $_.'_description', $_.'_taxnumber', $_.'_tax_id' } split / /, $form->{taxaccounts}];
696 696

  
697
  $::request->{layout}->use_javascript(map { "${_}.js" } qw(kivi.Draft kivi.File kivi.SalesPurchase kivi.Part kivi.CustomerVendor kivi.Validator kivi.io client_js));
697
  $::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 client_js));
698 698

  
699 699
  $TMPL_VAR{payment_terms_obj} = get_payment_terms_for_invoice();
700 700
  $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};
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