rem: debug("all panels datasources = " + all_panels_datasources); debug("all panels resource    = " + all_panels_resource); debug("sidebar.datasource_uri = " + sidebar.datasource_uri); debug("sidebar.resource       = " + sidebar.resource); 
add: debug("Init: all panels datasources = " + all_panels_datasources); debug("Init: all panels resource    = " + all_panels_resource); debug("Init: sidebar.datasource_uri = " + sidebar.datasource_uri); debug("Init: sidebar.resource       = " + sidebar.resource); 
context: function Init(){  var all_panels_datasources = window.arguments[0];  var all_panels_resource    = window.arguments[1];  sidebar.datasource_uri     = window.arguments[2];  sidebar.resource           = window.arguments[3];  debug("all panels datasources = " + all_panels_datasources);  debug("all panels resource    = " + all_panels_resource);  debug("sidebar.datasource_uri = " + sidebar.datasource_uri);  debug("sidebar.resource       = " + sidebar.resource);  var all_panels   = document.getElementById('other-panels');  var current_panels = document.getElementById('current-panels');  all_panels_datasources = all_panels_datasources.split(/\s+/);  for (var ii = 0; ii < all_panels_datasources.length; ii++) {    debug("Adding "+all_panels_datasources[ii]);    // This will load the datasource, if it isn't already.    var datasource = RDF.GetDataSource(all_panels_datasources[ii]);    all_panels.database.AddDataSource(datasource);    current_panels.database.AddDataSource(datasource);  }  // Add the datasource for current list of panels. It selects panels out  // of the other datasources.  sidebar.datasource = RDF.GetDataSource(sidebar.datasource_uri);  current_panels.database.AddDataSource(sidebar.datasource);  // Root the customize dialog at the correct place.  all_panels.setAttribute('ref', all_panels_resource);  current_panels.setAttribute('ref', sidebar.resource);  saveInitialPanels();  enableButtonsForCurrentPanels();}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/43ff2dd1ab1adec6a9efda834ffb380c79b087ed/customize.js/clean/suite/common/sidebar/customize.js