From 36c8531394f354c694d1f72d8769461dccc9591f Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 30 Jun 2011 16:00:08 -0400 Subject: [PATCH] Fix for Bug 6543 - Column hiding on batch item edit/delete not working T:T variable name problem. Signed-off-by: Nicole C. Engard Signed-off-by: Chris Cormack --- koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt | 3 ++- koha-tmpl/intranet-tmpl/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 5aed1baa30..af2a239ebd 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 05fa9786ee..67cd6e085a 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 %]

-- 2.39.5