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
Christopher, I have tried to re create this and cannot. If I take everything out of the IntranetmainUserblock syspref and look at the source I do not see the #area-userblock. Looking at the intranet-main.tt it looks to have an IF that will only display this section if the sysprwef has content. Did you recreate this on master?
(In reply to Lucas Gass from comment #1) > Christopher, > > I have tried to re create this and cannot. If I take everything out of the > IntranetmainUserblock syspref and look at the source I do not see the > #area-userblock. > > Looking at the intranet-main.tt it looks to have an IF that will only > display this section if the sysprwef has content. Did you recreate this on > master? No. I specifically marked this for 18.11.
I cannot reproduce this problem in master or 18.11.09. Could you have some empty markup in the preference?
Well, I feel stupid. However, I found that if I had a blank line and used delete or backspace, even repeatedly on both, it will not get rid of everything. I have to leave the blank line and use CTRL-A and delete to get rid of anything hidden. That isn't very intuitive.
I will mark this resolved and open a new bug on removing things from these preferences.