From e80562bbced5f47d8a8eeae1b9834af73c87349c Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Tue, 14 Jul 2015 21:57:10 +0200 Subject: [PATCH] Bug 14202: Unexpected parameter for window.open in marc21_linking_section.pl Content-Type: text/plain; charset=utf-8 The builder of this plugin includes a window.open call with the name parameter: \"marc21_field_7\"+ event.data.id +\"\" Note that this is not the name of the new window. This trivial patch adjusts this unusual name by tag_editor like other plugins. Test plan: Attach marc21_linking_section to 773$9. Click on the Tag editor button. If it opens, it still works :) Note that the name of the popup is still: Koha > Cataloguing > plugin for links --- cataloguing/value_builder/marc21_linking_section.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cataloguing/value_builder/marc21_linking_section.pl b/cataloguing/value_builder/marc21_linking_section.pl index 195dedb..13f3a64 100644 --- a/cataloguing/value_builder/marc21_linking_section.pl +++ b/cataloguing/value_builder/marc21_linking_section.pl @@ -41,7 +41,7 @@ my $builder = sub { @@ -315,4 +315,4 @@ my $launcher = sub { output_html_with_http_headers $query, $cookie, $template->output; }; -return { builder => $builder, launcher => $launcher }; \ No newline at end of file +return { builder => $builder, launcher => $launcher }; -- 1.7.10.4