From 7894a34479b1b3a120938687fbd856be9f756bfc Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 15 Feb 2017 08:11:41 +0000 Subject: [PATCH] Bug 17780: Add a comment to explain the line Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall (cherry picked from commit 762188646904156e4b1c12bb4d2e04a060674e59) Signed-off-by: Katrin Fischer --- .../prog/en/modules/authorities/blinddetail-biblio-search.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/blinddetail-biblio-search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/blinddetail-biblio-search.tt index da9ac248e2..f6ab158c98 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/blinddetail-biblio-search.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/blinddetail-biblio-search.tt @@ -90,7 +90,7 @@ var subfields = field_start.getElementsByTagName('input'); var re = /^tag_\d*_code_/; for(var i=0, len = subfields.length ; i< len ; i++) { // browse all subfields - if(subfields[i].hasAttribute('name') == 0 ) {continue; } + if(subfields[i].hasAttribute('name') == 0 ) {continue; } // div elements specific to Select2 if(subfields[i].getAttribute('name').match(re)){ // it s a subfield var code = subfields[i]; // code is the first input var subfield = subfields[i+1]; // subfield the second -- 2.39.5