rem:  title_box.setAttribute('type','splitter'); 
add: sidebar_title.setAttribute('type','splitter'); 
context: function sidebar_overlay_init() {  sidebarObj.datasource_uri = get_sidebar_datasource_uri(PANELS_RDF_FILE);  sidebarObj.resource = 'urn:sidebar:current-panel-list';    sidebarObj.master_datasources = get_remote_datasource_url();  sidebarObj.master_datasources += " chrome://communicator/content/sidebar/local-panels.rdf";  sidebarObj.master_resource = 'urn:sidebar:master-panel-list';  sidebarObj.component = document.firstChild.getAttribute('windowtype');  debug("sidebarObj.component is " + sidebarObj.component);  // Initialize the display  var sidebar_element  = document.getElementById('sidebar-box');  var sidebar_menuitem = document.getElementById('menu_sidebar');  if (sidebar_element.getAttribute('hidden') == 'true') {    if (sidebar_menuitem) {      sidebar_menuitem.setAttribute('checked', 'false');    }  } else {    if (sidebar_menuitem) {      sidebar_menuitem.setAttribute('checked', 'true');    }        if (sidebarObj.never_built) {      sidebarObj.never_built = false;      debug("sidebar = " + sidebarObj);      debug("sidebarObj.resource = " + sidebarObj.resource);      debug("sidebarObj.datasource_uri = " + sidebarObj.datasource_uri);      // Show the header for the panels area. Use a splitter if there      // is stuff over the panels area.      var title_box = document.getElementById('title-box');      if (sidebar_element.firstChild == title_box) {        //title_box.removeAttribute('hidden');        title_box.setAttribute('type','box');      } else {        //document.getElementById('title-splitter').removeAttribute('hidden');        title_box.setAttribute('type','splitter');      }            // Add the user's current panel choices to the template builder,      // which will aggregate it with the other datasources that describe      // the individual panel's title, customize URL, and content URL.      var panels = document.getElementById('sidebar-panels');      panels.database.AddDataSource(RDF.GetDataSource(sidebarObj.datasource_uri));            debug("Adding observer to database.");      panels.database.AddObserver(panel_observer);      // XXX This is a hack to force re-display      panels.setAttribute('ref', sidebarObj.resource);    }    sidebar_open_default_panel(100, 0);  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/b40ce446bc39c41039ced835a72f7a3c1cfe4828/sidebarOverlay.js/clean/xpfe/components/sidebar/resources/sidebarOverlay.js