[mashup-dev] svn commit r4635 - trunk/mashup/java/modules/www/js/wso2

svn at wso2.org svn at wso2.org
Mon Jul 2 03:38:52 PDT 2007


Author: tyrell
Date: Mon Jul  2 03:38:36 2007
New Revision: 4635

Modified:
   trunk/mashup/java/modules/www/js/wso2/mashup-utils.js
Log:
Fixing MASHUP-200. The manual call to list refresh is removed. The user can do a manual refresh from the Admin UI or wait till the Admin UI initiates the next list refresh.

Modified: trunk/mashup/java/modules/www/js/wso2/mashup-utils.js
==============================================================================
--- trunk/mashup/java/modules/www/js/wso2/mashup-utils.js	(original)
+++ trunk/mashup/java/modules/www/js/wso2/mashup-utils.js	Mon Jul  2 03:38:36 2007
@@ -366,11 +366,6 @@
             }
 
             if (response == "true") {
-                //Force call the list refresh method
-                wso2.mashup.services.listServiceGroups(wso2.mashup.MashupListModel.populateMashupsList, "false");
-                this.params.innerHTML = "";
-                this.params.appendChild(document.createTextNode("Failed to create the service. Please refer the server log for details."));
-
                 wso2.wsf.Util.alertMessage("The service was successfully created. It will be listed in the 'Available Mashups' list soon.");
             } else {
                 wso2.wsf.Util.alertMessage("Failed to create the service. Please refer the server log for details.", "warnicon");
@@ -558,7 +553,7 @@
             var remoteServer = document.getElementById("txtIpAddress").value;
 
             var labelElement = document.getElementById("lblStatus");
-            
+
             var serviceName = document.getElementById("txtServiceName").value;
 
             if ((WSO2.MashupUtils.trim(serviceName) != "") && (WSO2.MashupUtils.trim(remoteServer) != "")) {




More information about the Mashup-dev mailing list