Bug 18551 - Hide with CSS dynamic elements in member search
commit5cc536c68b221823f4335b5b5db1108521f88a71
authorFridolin Somers <fridolin.somers@biblibre.com>
Fri, 5 May 2017 13:00:05 +0000 (5 15:00 +0200)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 19 May 2017 14:49:53 +0000 (19 10:49 -0400)
tree3c6ac7f812e8a5856d2107e1ae500a190b35a3dc
parentc9de665c294f0e4416a9f1ea751e2859eb065a9c
Bug 18551 - Hide with CSS dynamic elements in member search

In member search page, the result table is in Ajax so fully managed by Javascript. There is also a yellow dialog message prepared in HTML.

Thoses elements are hidden by JS code : ie $("#patron_list_dialog").hide().

The problem is that the static page is first loaded an displayed then the JS code runs an hides the elements.
On a low performance computer, this action is visible and looks like there is a blinking yellow message.

I propose to hide with CSS so that thoses elements are not displayed in static page and are there shown in dynamic JS code.

Test plan :
Check display is unchanged :
- Go to home page /cgi-bin/koha/members/members-home.pl
- Perform patron search from header search box
- Perform patron search by clicking on a letter
- Perform patron search from filters (left of results table)
- Select a patron and add it to a list => you see the yellow message

Yellow message does no longer appear with this patch.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Philippe <philippe.audet-fortin@inlibro.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt