|
From: <tre...@us...> - 2007-09-14 17:28:26
|
Revision: 400
http://ogoglio.svn.sourceforge.net/ogoglio/?rev=400&view=rev
Author: trevorolio
Date: 2007-09-14 10:28:29 -0700 (Fri, 14 Sep 2007)
Log Message:
-----------
Added a function to fetch the service state to ogoglio.js, so that apps can turn registration UIs on and off accordingly.
Modified Paths:
--------------
maven/trunk/ogoglio-server/src/main/resources/siteTemplates/ogoglio.js
Modified: maven/trunk/ogoglio-server/src/main/resources/siteTemplates/ogoglio.js
===================================================================
--- maven/trunk/ogoglio-server/src/main/resources/siteTemplates/ogoglio.js 2007-09-13 21:02:37 UTC (rev 399)
+++ maven/trunk/ogoglio-server/src/main/resources/siteTemplates/ogoglio.js 2007-09-14 17:28:29 UTC (rev 400)
@@ -586,7 +586,12 @@
manager.send();
}
+// BEGIN SERVICE UTILS
+function requestServiceState(listener){
+ new XMLRequestManager(appPath + "/space/state/", new BasicHTTPListener(listener)).send();
+}
+
// BEGIN TEMPLATE UTILS
function requestTemplateList(username, listener){
new XMLRequestManager(appPath + "/account/" + username + "/template/", new BasicHTTPListener(listener)).send();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|