From f488943c25c29167ac46e9e08eeb4be24c876660 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 31 May 2018 15:32:29 +0000 Subject: [PATCH] Bug 19970: Revise change of bug 19413 to work better for translations This patch changes how the submit and cancel buttons appear in the MARC 008 plugin window. The controls are now displayed as buttons in a floating toolbar. To test you must have MARC tag 008 configured to use the marc21_field_008.pl plugin. - Apply the patch and open an existing or blank record in cataloging. - Click the plugin link next to tag 008 to trigger the popup window. - Confirm that "Save" and "Cancel" appear correctly in a toolbar. - Scroll down the page to confirm that the toolbar "sticks" to the top of the window. - Confirm that the "Save" and "Cancel" buttons work correctly. Signed-off-by: Maryse Simard Followed the test plan and the patch works. Signed-off-by: Jonathan Druart Signed-off-by: Nick Clemens Signed-off-by: Martin Renvoize --- .../value_builder/marc21_field_008.tt | 20 +++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008.tt index f8746e5370..d28c2c1727 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008.tt @@ -15,7 +15,15 @@

"[% result %]"

-
Cancel
+
+
+ +
+
+ +
+
+ @@ -33,8 +41,16 @@
[% MACRO jsinclude BLOCK %] + [% Asset.js("lib/jquery/plugins/jquery.fixFloat.js") %] [% Asset.js("js/xmlControlfield.js") %] -