]> git.koha-community.org Git - koha.git/commit
Bug 17780 - When choose an author in authority results new window shows a blank screen
authorOleg Vasylenko <synapse.ova@gmail.com>
Tue, 24 Jan 2017 15:58:39 +0000 (17:58 +0200)
committerKatrin Fischer <katrin.fischer.83@web.de>
Sun, 19 Feb 2017 18:52:54 +0000 (19:52 +0100)
commite2b22a3195ba0ddf8a80b3ea3bf77f1d9af456fc
tree611824a8b2b98aa82d50a452197e47a3cebfc77a
parent2cd32363301431b8f9886eb0e60a8ad5160e339a
Bug 17780 - When choose an author in authority results new window shows a blank screen

Select2 (Bug 13501) introduced divs and inputs that broke some assumptions about the expected HTML structure.
This patch checks if input has name attribute, because some inputs in Select2 have not.

To test:
Try to add info from the authorities to field that has subfield with Select2 (subfield with authorised values on Koha 16.11+)

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
(cherry picked from commit 444bdcc2a50c64037c0f463200683009d8ae0b6e)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
koha-tmpl/intranet-tmpl/prog/en/modules/authorities/blinddetail-biblio-search.tt