https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23735
Bug ID: 23735
Summary: area-userblock remains visible when empty
Change sponsored?: ---
Product: Koha
Version: 18.11
Hardware: All
OS: All
Status: NEW
Severity: trivial
Priority: P5 - low
Component: Staff Client
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected]
If IntranetmainUserblock is unused, a blank frame is still shown at the bottom
of the staff client. This should be hidden or non-existant if this preference
is unused.
Currently, I am using jQuery to resolve this:
//Hide Area User Block if Empty
function isEmpty( el ){
return !$.trim(el.html())
}
if (isEmpty($('#main_intranet-main div.user-info'))) {
$('#area-userblock').hide();
}
//End Hide
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/