[Zope-CVS] CVS: Packages/Moztop/moztop/content/lib - sitesmanager.js:1.8

Stephan Richter srichter@cbu.edu
Sat, 22 Mar 2003 15:09:50 -0500


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

Modified Files:
	sitesmanager.js 
Log Message:
Made "Reload" Site button work again.

Got types working again. I totally forgot that we changed all namespaces
from www.zope.org to www.oscom.org. Now we see the cool icons again too.


=== Packages/Moztop/moztop/content/lib/sitesmanager.js 1.7 => 1.8 ===
--- Packages/Moztop/moztop/content/lib/sitesmanager.js:1.7	Sat Mar 22 14:36:31 2003
+++ Packages/Moztop/moztop/content/lib/sitesmanager.js	Sat Mar 22 15:09:19 2003
@@ -143,6 +143,13 @@
 }
 
 
+SitesManager.prototype.reloadSelectedSite = function() {
+    /* Reload the latest changes from the server */
+    node = this.getSelectedResource();
+    this.loadSite(node.getValue());
+}
+
+
 SitesManager.prototype.addSite = function(title, rsdurl) {
     /* Create a new site from the information in the DOM passed in  */