Patch removes templates directives from HTML tags in masthead.inc

Problem was related to library pull down shown when
OpacAddMastheadLibraryPulldown is activated.
---
 koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc 
b/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc
index 0f532d8..2510a7f 100644
--- a/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc
+++ b/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc
@@ -80,7 +80,8 @@
       <select name="limit" id="masthead_search" class="left" 
style="max-width:10em;width:10em;">
          <option value="">All Libraries</option>
          [% FOREACH BranchesLoo IN BranchesLoop %]
-            <option [% IF ( BranchesLoo.selected ) %]SELECTED[% END %] 
value="branch:[% BranchesLoo.value %]">[% BranchesLoo.branchname %]</option>
+            [% IF ( BranchesLoo.selected ) %]<option select="selected" 
value="branch:[% BranchesLoo.value %]">[% BranchesLoo.branchname %]</option>
+            [% ELSE %]<option value="branch:[% BranchesLoo.value %]">[% 
BranchesLoo.branchname %]</option>[% END %]
          [% END %]
       </select>
    [% ELSE %]
-- 
1.7.4.1

_______________________________________________
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/

Reply via email to