[Koha-bugs] [Bug 23735] New: area-userblock remains visible when empty

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 3 17:14:35 CEST 2019


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: koha-bugs at lists.koha-community.org
          Reporter: cbrannon at cdalibrary.org
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com

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.


More information about the Koha-bugs mailing list