[Zope-CVS] CVS: Packages/Moztop/moztop/content - moztop.js:1.31

Paul Everitt paul@zope.com
Mon, 7 Apr 2003 07:22:10 -0400


Update of /cvs-repository/Packages/Moztop/moztop/content
In directory cvs.zope.org:/tmp/cvs-serv22933/content

Modified Files:
	moztop.js 
Log Message:
Start on properties work

=== Packages/Moztop/moztop/content/moztop.js 1.30 => 1.31 ===
--- Packages/Moztop/moztop/content/moztop.js:1.30	Thu Mar 27 11:45:34 2003
+++ Packages/Moztop/moztop/content/moztop.js	Mon Apr  7 07:21:39 2003
@@ -26,6 +26,12 @@
 
 /* Function that is executed when Moztop is started. */
 function startProgram() {
+    // This next is a strange hack.  I don't know why startProgram 
+    // sometimes gets run twice.
+    if (sitesmanager) {
+	return true;
+    }
+
     initLogManager();
     /* We now have logmanger, let's use it */
     logmanager.addMessage("Initializing Navigation","moztop.js, startProgram");