From 08553d944b60de2aec3d499a591c7bd184385e54 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 1 Jul 2011 13:00:58 -0400 Subject: [PATCH] Fix for Bug 6543 - Column hiding on batch item edit/delete not working Content-Type: text/plain; charset="utf-8" T:T variable name problem. --- .../prog/en/modules/tools/batchMod-del.tt | 3 ++- .../prog/en/modules/tools/batchMod-edit.tt | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt index 5aed1ba..af2a239 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt @@ -12,6 +12,7 @@ // Prepare array of all column headers, incrementing each index by // two to accomodate control and title columns var allColumns = new Array([% FOREACH item_header_loo IN item_header_loop %]'[% loop.count %]'[% UNLESS ( loop.last ) %],[% END %][% END %]); +console.log(allColumns); for( x=0; xShow/hide columns: [% FOREACH item_header_loo IN item_header_loop %] - + [% END %]

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt index 05fa978..67cd6e0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt @@ -12,6 +12,7 @@ // Prepare array of all column headers, incrementing each index by // two to accomodate control and title columns var allColumns = new Array([% FOREACH item_header_loo IN item_header_loop %]'[% loop.count %]'[% UNLESS ( loop.last ) %],[% END %][% END %]); +console.log(allColumns); for( x=0; xShow/hide columns: [% FOREACH item_header_loo IN item_header_loop %] - + [% END %]

-- 1.7.3