Bug 14202: Unexpected parameter for window.open in marc21_linking_section.pl
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tue, 14 Jul 2015 19:57:10 +0000 (21:57 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 6 Nov 2015 18:11:19 +0000 (15:11 -0300)
commit57d74255498ab428b887bf9022cc3eae6a8b8bf7
treef53df7bfb28591244ce44057f7541244faa13c4d
parentc237ed7b352152e738894264bccbb15007ecb4ed
Bug 14202: Unexpected parameter for window.open in marc21_linking_section.pl

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

Signed-off-by: Fredreic Demians <f.demians@tamil.fr>
  Plugin still working, with a valid pop-pup window id.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
cataloguing/value_builder/marc21_linking_section.pl