]> git.koha-community.org Git - koha.git/commit
Bug 24786: (QA follow-up) Do not use 'hidden' attribute
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 6 Nov 2020 11:51:30 +0000 (11:51 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 6 Nov 2020 14:40:00 +0000 (15:40 +0100)
commitf7030fc0e1eea06f783fc98bfa95fb5c655143ae
treeedc302cddc8da86f82d92e51bb55343dc48b3683
parent349591b3a4ee9620f4f4f337173efd84ab3227cf
Bug 24786: (QA follow-up) Do not use 'hidden' attribute

The hidden attribute for loading an element hidden is known to have
issues and inconsistencies accross browsers.

This patch instead updates the relevent input options to use an inline
style of 'display: none' to hide the elements on page load and then
.show, .hide for subsquent changes linked to the library branch picker
change.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc
koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt