From 43c2bdf3d604af2718cba89f3fdedd07ed19a07d Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 13 Sep 2012 10:20:56 +0200 Subject: [PATCH] [SIGNED-OFF] Bug 8508: Followup: Simplify the separateData js function Content-Type: text/plain; charset="utf-8" I think this patch does the same job as previously. + It replaces tabulation characters with 4 spaces Signed-off-by: Owen Leonard --- .../prog/en/modules/circ/pendingreserves.tt | 35 ++++++++------------ 1 file changed, 13 insertions(+), 22 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt index d6d6c0a..e7e2dd8 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt @@ -14,28 +14,19 @@ $(document).ready(function() { holdst.fnAddFilters("filter"); [%# add separateData function to cleanse jQuery select lists by breaking apart strings glued with BR tags and then de-duplicating any repeated library codes %] function separateData ( ColumnData ){ - var cD = ColumnData; - var new_array = new Array(); + var cD = ColumnData; + var new_array = new Array(); for ( j=0 ; j/gi); - if (strMatch) { - var split_array = cD[j].split(/
/gi); - for ( k=0 ; k/gi); + for ( k=0 ; k -[% INCLUDE 'intranet-bottom.inc' %] \ No newline at end of file +[% INCLUDE 'intranet-bottom.inc' %] -- 1.7.9.5