[Zope-CVS] CVS: Packages/Moztop/moztop/content/Explorer - Explorer.js:1.4
Paul Everitt
paul@zope.com
Fri, 7 Feb 2003 06:34:38 -0500
Update of /cvs-repository/Packages/Moztop/moztop/content/Explorer
In directory cvs.zope.org:/tmp/cvs-serv15100/content/Explorer
Modified Files:
Explorer.js
Log Message:
Its broken!
=== Packages/Moztop/moztop/content/Explorer/Explorer.js 1.3 => 1.4 ===
--- Packages/Moztop/moztop/content/Explorer/Explorer.js:1.3 Thu Jan 30 14:01:30 2003
+++ Packages/Moztop/moztop/content/Explorer/Explorer.js Fri Feb 7 06:34:05 2003
@@ -160,10 +160,10 @@
var siteusername = "http://www.zope.org/rdf/site#username";
var sitepassword = "http://www.zope.org/rdf/site#password";
- // Grab the datasources
- var prefsdir = getProfileURL();
- var sitesds = new RDFDataSource(prefsdir + "/moztop_sites.rdf");
- var typesds = new RDFDataSource(prefsdir + "/moztop_types.rdf");
+// Grab the datasources
+// var prefsdir = getProfileURL();
+// var sitesds = new RDFDataSource(prefsdir + "/moztop_sites.rdf");
+// var typesds = new RDFDataSource(prefsdir + "/moztop_types.rdf");
// Create a new node for the new site, attached to the sites list
var sc=sitesds.getNode("urn:moztop:sites")
@@ -231,8 +231,8 @@
// tree.setAttribute("ref", "urn:explorer:data");
var prefsdir = getProfileURL();
- var sitesds = new RDFDataSource(prefsdir + "/moztop_sites.rdf");
- var typesds = new RDFDataSource(prefsdir + "/moztop_types.rdf");
+ sitesds = new RDFDataSource(prefsdir + "/moztop_sites.rdf");
+ typesds = new RDFDataSource(prefsdir + "/moztop_types.rdf");
var explorer=document.getElementById("explorertree");
explorer.database.AddDataSource(sitesds.getRawDataSource());