Bug 10306: (QA follow-up) More feedback for admins in koha2marclinks
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Mon, 23 Oct 2017 10:07:04 +0000 (12:07 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 7 Dec 2017 17:44:15 +0000 (14:44 -0300)
commit2164fce41fe2835a909cc952a346ac3e145a5390
tree006ad796bd6a192d8f2663f9464f23038b875bbf
parent2a74db9e6b862a67dc9b90131e3784d6a5a6b51e
Bug 10306: (QA follow-up) More feedback for admins in koha2marclinks

As requested by Tomas, this patch does:

[1] Add a js alert when you did not type field,subfield
[2] Print a yellow alert div when the field,subfield is not found.
[3] Bonus: Make it little bit more secure by demanding a POST. (Leaving
    CSRF etc. for another report.)

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
admin/koha2marclinks.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/koha2marclinks.tt