From 9d425b78cc04a0aba0c566d8c51e4cbbcc701392 Mon Sep 17 00:00:00 2001
From: Owen Leonard <oleonard@myacpl.org>
Date: Fri, 22 Dec 2017 13:37:58 +0000
Subject: [PATCH] Bug 19623: (Follow-up) Correct footer include in pop-up
 windows

This patch corrects the footer include in two templates for Z39.50
pop-up windows. popup-bottom.inc shouldn't be used because it doesn't
have the JavaScript embed code in it.

To test, perform a Z39.50 search from both the MARC bibliographic editor
and the MARC authority editor. In both cases the Z39.50 popup window
should work correctly.
---
 .../intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt      | 2 +-
 koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt
index df1e3d9..eac6af7 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt
@@ -200,4 +200,4 @@ tr.selected { background-color : #FFFFCC; } tr.selected td { background-color :
     <script type="text/javascript" src="[% interface %]/[% theme %]/js/z3950_search.js"></script>
 [% END %]
 
-[% INCLUDE 'popup-bottom.inc' %]
\ No newline at end of file
+[% INCLUDE 'intranet-bottom.inc' popup_window=1 %]
\ No newline at end of file
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt
index 20b1f82..23775f2 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt
@@ -223,4 +223,4 @@ tr.selected { background-color : #FFFFCC; } tr.selected td { background-color :
     [% INCLUDE 'z3950_search.inc' %]
 [% END %]
 
-[% INCLUDE 'popup-bottom.inc' %]
+[% INCLUDE 'intranet-bottom.inc' popup_window=1 %]
\ No newline at end of file
-- 
2.1.4