]> 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)
committerMason James <mtj@kohaaloha.com>
Wed, 22 Feb 2017 20:36:23 +0000 (09:36 +1300)
commitbbd88a3b66c5119b8499beee05840912b6dfb190
treefd3c87d27c51a7e9f07e78306231577204f21ce9
parentde1dab30d9aa55e5fa2e26d892a5ce16620b3f4a
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>
Signed-off-by: Mason James <mtj@kohaaloha.com>
koha-tmpl/intranet-tmpl/prog/en/modules/authorities/blinddetail-biblio-search.tt