]> git.koha-community.org Git - koha.git/commit
Bug 18422: (QA follow-up) Check if select2 is available before using it
authorJulian Maurice <julian.maurice@biblibre.com>
Fri, 29 Sep 2017 13:52:50 +0000 (15:52 +0200)
committerKatrin Fischer <katrin.fischer.83@web.de>
Sun, 29 Oct 2017 18:26:49 +0000 (19:26 +0100)
commit52305a98fa9d90c62fe80b38bd79c97c9ac81fe5
tree3f581efc04827cb52fa68743174f12531c0cd2a1
parent82f96442837da730bbf3543378ca2801e3316303
Bug 18422: (QA follow-up) Check if select2 is available before using it

cataloging.js might not always be loaded with select2.js, so we should
check its availability to prevent JS errors

Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 56a0aabc58a3475912894523cc92757153b967bd)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 1d450ad13a6bcd8f4f826bae7290a3184564badb)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
koha-tmpl/intranet-tmpl/prog/js/cataloging.js