add: sidebarObj.master_datasources += " chrome: 
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_resource = 'urn:sidebar:master-panel-list';  sidebarObj.component = document.location.href;  // 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);      // 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));            // The stuff on the bottom      var panels_bottom = document.getElementById('sidebar-panels-bottom');      panels_bottom.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);      // XXX This is a hack to force re-display      panels_bottom.setAttribute('ref', sidebarObj.resource);    }    sidebar_open_default_panel(100, 0);  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/3b1e02974a377e06067926fb0cc46f66a97049f8/sidebarOverlay.js/buggy/xpfe/components/sidebar/resources/sidebarOverlay.js