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; x<allColumns.length; x++ ){
allColumns[x] = Number(allColumns[x]) + 2;
}
@@ -76,7 +77,7 @@ for( x=0; x<allColumns.length; x++ ){
<p id="selections"><strong>Show/hide columns:</strong> <span
class="selected"><input type="checkbox" checked="checked" id="showall"/><label
for="showall">Show all columns</label></span> <span><input type="checkbox"
id="hideall"/><label for="hideall">Hide all columns</label></span>
[% FOREACH item_header_loo IN item_header_loop %]
- <span class="selected"><input id="checkheader[%
item_header_loo.__counter %]" type="checkbox" checked="checked" /> <label
for="checkheader[% loop.count %]">[% item_header_loo.header_value %]</label>
</span>
+ <span class="selected"><input id="checkheader[% loop.count %]"
type="checkbox" checked="checked" /> <label for="checkheader[% loop.count
%]">[% item_header_loo.header_value %]</label> </span>
[% END %]
</p>
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; x<allColumns.length; x++ ){
allColumns[x] = Number(allColumns[x]) + 2;
}
@@ -71,7 +72,7 @@ for( x=0; x<allColumns.length; x++ ){
<p id="selections"><strong>Show/hide columns:</strong> <span
class="selected"><input type="checkbox" checked="checked" id="showall"/><label
for="showall">Show all columns</label></span> <span><input type="checkbox"
id="hideall"/><label for="hideall">Hide all columns</label></span>
[% FOREACH item_header_loo IN item_header_loop %]
- <span class="selected"><input id="checkheader[%
item_header_loo.__counter %]" type="checkbox" checked="checked" /> <label
for="checkheader[% loop.count %]">[% item_header_loo.header_value %]</label>
</span>
+ <span class="selected"><input id="checkheader[% loop.count %]"
type="checkbox" checked="checked" /> <label for="checkheader[% loop.count
%]">[% item_header_loo.header_value %]</label> </span>
[% END %]
</p>
<table id="itemst">
--
1.7.3
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/