[Zope-CVS] CVS: Packages/Moztop/moztop/content - moztop.js:1.6
Stephan Richter
srichter@cbu.edu
Wed, 15 Jan 2003 08:17:35 -0500
Update of /cvs-repository/Packages/Moztop/moztop/content
In directory cvs.zope.org:/tmp/cvs-serv2352/moztop/content
Modified Files:
moztop.js
Log Message:
Now the Content Object subtabs are created instead of cloned...
=== Packages/Moztop/moztop/content/moztop.js 1.5 => 1.6 ===
--- Packages/Moztop/moztop/content/moztop.js:1.5 Tue Jan 14 20:26:35 2003
+++ Packages/Moztop/moztop/content/moztop.js Wed Jan 15 08:17:02 2003
@@ -28,19 +28,8 @@
'For more information see http://www.zope.org/')
}
-function loginZopeServer(url) {
- // This is a bogus function to initiate a request to the Zope 3
- // server, for no reason other than to generate a login dialog. RDF
- // doesn't seem to do the right thing here.
- var p = new XMLHttpRequest();
- p.open("GET", url, false);
- p.send(null);
- return;
-}
-
/* Initialize the Explorer datasource */
function initExplorer() {
- // loginZopeServer(contentsURL); // Need to authenticate, bleh
var ds = RDF.GetDataSource(contentsURL);
var tree = document.getElementById('navigationtree');
tree.database.AddDataSource(ds);
@@ -56,6 +45,6 @@
ds = ds.QueryInterface(
Components.interfaces.nsIRDFRemoteDataSource);
ds.Refresh(false);
- alert('done');
+ alert('Done reloading Content Tree.');
tree.builder.rebuild();
}