]> 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)
committerKyle M Hall <kyle@bywatersolutions.com>
Wed, 15 Feb 2017 11:13:00 +0000 (11:13 +0000)
commit444bdcc2a50c64037c0f463200683009d8ae0b6e
tree710f937c9afc5be763c48114bd93a628443cf8b3
parent2d427b25aa778c7eafbc67af066f849c32b7cf06
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>
koha-tmpl/intranet-tmpl/prog/en/modules/authorities/blinddetail-biblio-search.tt