From: Art Cancro Date: Tue, 17 May 2011 20:32:57 +0000 (-0400) Subject: Removed spurious 'Loading...' label from expanded roomlist X-Git-Tag: v8.11~731 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=487033d5d66725f33769bd505eb73af5911e35fb Removed spurious 'Loading...' label from expanded roomlist --- diff --git a/webcit/static/wclib.js b/webcit/static/wclib.js index 22ae75d6c..8b9f83bf1 100644 --- a/webcit/static/wclib.js +++ b/webcit/static/wclib.js @@ -176,6 +176,7 @@ function setupIconBar() { /* WARNING: VILE, SLEAZY HACK. We determine the state of the box based on the image loaded. */ if ( $('expand_roomlist').src.substring($('expand_roomlist').src.length - 12) == "collapse.gif" ) { $('roomlist').style.display = 'block'; + $('roomlist').innerHTML = ''; FillRooms(IconBarRoomList); } else { @@ -886,6 +887,7 @@ function toggle_roomlist() else { $('roomlist').style.display = 'block'; $('expand_roomlist').src = 'static/collapse.gif'; + $('roomlist').innerHTML = ''; FillRooms(IconBarRoomList); wstate=1; }