[Zope-CVS] CVS: Packages/Moztop/moztop/content/lib - sitesmanager.js:1.2
Stephan Richter
srichter@cbu.edu
Thu, 20 Mar 2003 11:30:52 -0500
Update of /cvs-repository/Packages/Moztop/moztop/content/lib
In directory cvs.zope.org:/tmp/cvs-serv6680/lib
Modified Files:
sitesmanager.js
Log Message:
Renaming explorer --> navigation
=== Packages/Moztop/moztop/content/lib/sitesmanager.js 1.1 => 1.2 ===
--- Packages/Moztop/moztop/content/lib/sitesmanager.js:1.1 Thu Mar 20 11:04:20 2003
+++ Packages/Moztop/moztop/content/lib/sitesmanager.js Thu Mar 20 11:30:22 2003
@@ -11,9 +11,6 @@
* FOR A PARTICULAR PURPOSE.
*
******************************************************************************
-Explorer library; here to manage Content Object Tree.
-
-
SitesManager API Methods:
* connectSelectedSite - Connect to the selected site.
@@ -55,8 +52,8 @@
dump(this.commontypesds.serializeToString());
- // DOM element id of the Explorer tree
- this.elementid = 'explorertree';
+ // DOM element id of the Navigation tree
+ this.elementid = 'navigationtree';
// An array of all datasources that describe the content of a site.
this.sitedatasources = new Array();
@@ -78,7 +75,7 @@
var allres = this.ds.getAllResources();
if (allres.hasMoreElements()) {
logmanager.addMessage('Found existing moztop databases',
- 'explorer.js, initExplorer',
+ 'navigation.js, initNavigation',
this.ds.serializeToString());
return;
}
@@ -90,7 +87,7 @@
rootnode.addTarget(this.subitemsprop,subitems);
this.ds.save();
- logmanager.addMessage("Initialized moztop.rdf","explorer.js, initExplorer",
+ logmanager.addMessage("Initialized moztop.rdf","navigation.js, initNavigation",
this.ds.serializeToString());
return;
@@ -160,11 +157,11 @@
p.ds.parseFromString(newrdf,siteurl);
logmanager.addMessage("Retrieved remote contents.rdf",
- "explorer.js, retrieveSiteContents",
+ "navigation.js, retrieveSiteContents",
p.ds.serializeToString());
/* XXX: don't rebuild tree if you don't have to */
- var tree=document.getElementById("explorertree");
+ var tree=document.getElementById("navigationtree");
tree.database.AddDataSource(p.ds.getRawDataSource());
tree.builder.rebuild();
}