Bug 21151: Fix SRU search fields mapping pop-up
authorKatrin Fischer <katrin.fischer.83@web.de>
Wed, 1 Aug 2018 15:51:22 +0000 (15:51 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 9 Aug 2018 10:15:59 +0000 (11:15 +0100)
The SRU search fields mapping pop-up comes up as a blank white
page.

To test:
- Go to Administration > Z39.50/SRU servers
- Modify or create an SRU server
- Click on the 'Modify' button to change mappings
- Verify the new window that opens is blank
- Apply patch
- Verify the pop-up now is no longer blank but works
  correctly.

Bonus: Spottd some HTML errors while looking for the
       problem. Also fixed in the patch.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 039d10044ce16f5a45ab35b79ea69d0526a1a519)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

koha-tmpl/intranet-tmpl/prog/en/modules/admin/sru_modmapping.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt

index 341a703..1c2c074 100644 (file)
@@ -2,7 +2,6 @@
 [% SET footerjs = 1 %]
 [% INCLUDE 'doc-head-open.inc' %]
 <title>Koha &rsaquo; SRU search fields mapping</title>
-[% INCLUDE 'doc-head-close.inc' %]
 </head>
 
 <body id="admin_sru_modmapping" class="admin">
@@ -70,6 +69,7 @@
             </fieldset>
         </form>
     </div>
+</div>
 
 [% MACRO jsinclude BLOCK %]
     [% Asset.js("js/admin-menu.js") %]
index 6af148e..2df6952 100644 (file)
         <li>
         <label for="add_xslt">XSLT File(s) for transforming results: </label>
         <input type="text" name="add_xslt" id="add_xslt" size="100" value="[% server.add_xslt %]"/>
-        <div class="hint">Separate multiple filenames by commas.</span>
+        <div class="hint">Separate multiple filenames by commas.</div>
         </li>
 
         </ol>