[Zope-CVS] CVS: Packages/Moztop/moztop/content/Explorer - Explorer.js:1.11
Stephan Richter
srichter@cbu.edu
Sat, 15 Mar 2003 11:28:53 -0500
Update of /cvs-repository/Packages/Moztop/moztop/content/Explorer
In directory cvs.zope.org:/tmp/cvs-serv11326/moztop/content/Explorer
Modified Files:
Explorer.js
Log Message:
Cleaned up LogManager. Much more cleaning up needed, before I can see whats
going on.
=== Packages/Moztop/moztop/content/Explorer/Explorer.js 1.10 => 1.11 ===
--- Packages/Moztop/moztop/content/Explorer/Explorer.js:1.10 Mon Mar 10 16:25:38 2003
+++ Packages/Moztop/moztop/content/Explorer/Explorer.js Sat Mar 15 11:28:23 2003
@@ -31,7 +31,8 @@
this.ds = new RDFDataSource(this.profileurl + "/moztop.rdf",null);
this.commontypesds = new RDFDataSource();
- this.commontypesds.parseFromString(commontypes_data,"http://www.zope.org/rdf");
+ this.commontypesds.parseFromString(commontypes_data,
+ "http://www.zope.org/rdf");
this.elementid = 'explorertree';
this.sitedatasources = new Array();
@@ -214,7 +215,8 @@
newsite.addTarget(this.subitemsprop,subitems);
/* Now add the virtual folders which arc to this.commontypesds */
- var vfs = new Array ('Views','Configurations','Content','Bundles','Packages');
+ var vfs = new Array ('Views', 'Configurations', 'Content', 'Bundles',
+ 'Packages');
for (var i = 0; i < vfs.length; i++) {
/* vf is the current virtual folder */
@@ -254,12 +256,13 @@
// var resourcetype = rdf.getTarget(this.resourcetypeprop);
//var resourcetypetitle = resourcetype.getTarget(this.titleprop).getValue();
+ logmanager.addMessage("Open selected resource");
dump("\n in openSelectedResource\n");
var resourcetype = "site";
var tp = document.createElement("folderviewer");
tp.id = "127";
tp.setAttribute("urn","124");
- tp.setAttribute("resourcetitle",resourcetitle);
+ tp.setAttribute("resourcetitle", resourcetitle);
var outter = document.getElementById("active-contents-tabpanels");
outter.appendChild(tp);