From 172936e967f916e736a61a9177cbe1d53d42907e Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Fri, 1 Mar 2013 14:14:36 +0100 Subject: [PATCH] jquery.checkall.js immer laden lassen --- SL/Form.pm | 2 +- bin/mozilla/dn.pl | 1 - bin/mozilla/do.pl | 1 - bin/mozilla/sepa.pl | 4 ---- templates/webpages/bp/list_spool.html | 2 -- templates/webpages/dunning/show_invoices.html | 1 - templates/webpages/rc/step2.html | 2 -- 7 files changed, 1 insertion(+), 12 deletions(-) diff --git a/SL/Form.pm b/SL/Form.pm index 6a6dc9c21..e6b71d1fc 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -476,7 +476,7 @@ sub header { $layout->use_javascript("$_.js") for qw( jquery common jscalendar/calendar jscalendar/lang/calendar-de - jscalendar/calendar-setup part_selection jquery-ui jquery.cookie jqModal + jscalendar/calendar-setup part_selection jquery-ui jquery.cookie jqModal jquery.checkall switchmenuframe ); diff --git a/bin/mozilla/dn.pl b/bin/mozilla/dn.pl index c9ce8a76e..e9df30944 100644 --- a/bin/mozilla/dn.pl +++ b/bin/mozilla/dn.pl @@ -153,7 +153,6 @@ sub show_invoices { 'no_html' => 1, 'no_opendocument' => 1,); - $::request->layout->use_javascript('jquery.checkall.js'); $form->header(); print $form->parse_html_template("dunning/show_invoices"); diff --git a/bin/mozilla/do.pl b/bin/mozilla/do.pl index 3080e42a9..248bbb1f8 100644 --- a/bin/mozilla/do.pl +++ b/bin/mozilla/do.pl @@ -314,7 +314,6 @@ sub form_header { $form->{follow_up_trans_info} = $form->{donumber} .'('. $follow_up_vc .')'; $::request->layout->use_stylesheet('presenter/record/record_list.css'); - $::request->layout->use_javascript('jquery.checkall.js'); $form->header(); # Fix für Bug 1082 Erwartet wird: 'abteilungsNAME--abteilungsID' diff --git a/bin/mozilla/sepa.pl b/bin/mozilla/sepa.pl index 3b6ba95df..518b9a8fc 100755 --- a/bin/mozilla/sepa.pl +++ b/bin/mozilla/sepa.pl @@ -58,7 +58,6 @@ sub bank_transfer_add { $invoice->{reference_prefix} = $prefix; } - $::request->layout->use_javascript('jquery.checkall.js'); $form->header(); print $form->parse_html_template('sepa/bank_transfer_add', { 'INVOICES' => $invoices, @@ -187,8 +186,6 @@ sub bank_transfer_list { my $cgi = $::request->{cgi}; my $vc = $form->{vc} eq 'customer' ? 'customer' : 'vendor'; - $::request->layout->use_javascript('jquery.checkall.js'); - $form->{title} = $vc eq 'customer' ? $::locale->text('List of bank collections') : $locale->text('List of bank transfers'); $form->{sort} ||= 'id'; @@ -333,7 +330,6 @@ sub bank_transfer_edit { $form->error($locale->text('That export does not exist.')); } - $::request->layout->use_javascript('jquery.checkall.js'); $form->{jsscript} = 1; $form->{title} = $locale->text('View SEPA export'); $form->header(); diff --git a/templates/webpages/bp/list_spool.html b/templates/webpages/bp/list_spool.html index 0b6778be7..2ce20ffa7 100644 --- a/templates/webpages/bp/list_spool.html +++ b/templates/webpages/bp/list_spool.html @@ -4,7 +4,6 @@ [%- USE T8 %] [%- USE url %] [%- SET list_spool__callback = href _ '&sort=' _ sort %] -[% L.javascript_tag('jquery.checkall') %]

[% title | html %]

@@ -79,4 +78,3 @@ [% L.select_tag('printer', ALL_PRINTERS, title_key = 'printer_description') %] - diff --git a/templates/webpages/dunning/show_invoices.html b/templates/webpages/dunning/show_invoices.html index a33fe8b88..b7ee6ed47 100644 --- a/templates/webpages/dunning/show_invoices.html +++ b/templates/webpages/dunning/show_invoices.html @@ -1,7 +1,6 @@ [%- USE T8 %] [% USE HTML %] [% USE L %] -[% L.javascript_tag('jquery.checkall') %] [% SET all_active = 1 %][% FOREACH row = DUNNINGS %][% IF !row.active %][% SET all_active = 0 %][% LAST %][% END %][% END %] [% SET all_email = 1 %][% FOREACH row = DUNNINGS %][% IF !row.email %][% SET all_email = 0 %][% LAST %][% END %][% END %] diff --git a/templates/webpages/rc/step2.html b/templates/webpages/rc/step2.html index 255296463..baa3ac6b0 100644 --- a/templates/webpages/rc/step2.html +++ b/templates/webpages/rc/step2.html @@ -2,7 +2,6 @@ [%- USE L %] [%- USE T8 %] [%- USE LxERP %] -[%- L.javascript_tag('jquery.checkall') %]

[% accno | html %]--[% account | html %]

@@ -114,4 +113,3 @@ - -- 2.20.1