rem: sidebarObj.panels.refresh(); 
add: setTimeout("sidebarObj.panels.refresh();",100); 
context: function SidebarFinishClick() {  // XXX Semi-hack for bug #16516.  // If we had the proper drag event listener, we would not need this  // timeout. The timeout makes sure the width is written to disk after  // the sidebar-box gets the newly dragged width.  setTimeout("persist_width()",100);  var is_collapsed = document.getElementById('sidebar-box').getAttribute('collapsed') == 'true';  debug("collapsed: " + is_collapsed);  if (is_collapsed != sidebarObj.collapsed) {    if (gMustInit)      sidebar_overlay_init();    sidebarObj.panels.refresh();  }}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/73636ad63280bb21ff21e6fa64f01833d394a2ff/sidebarOverlay.js/buggy/xpfe/components/sidebar/resources/sidebarOverlay.js