Author: tyrell
Date: Wed Jan 30 06:41:38 2008
New Revision: 13178
Log:
Adding a recursive re-try instead of giving just an error message, when the
request fails.
Modified:
trunk/mashup/java/modules/www/js/common.js
Modified: trunk/mashup/java/modules/www/js/common.js
==============================================================================
--- trunk/mashup/java/modules/www/js/common.js (original)
+++ trunk/mashup/java/modules/www/js/common.js Wed Jan 30 06:41:38 2008
@@ -75,7 +75,9 @@
$(ratingDivId).replace(transport.responseText);
},
onFailure: function (transport) {
- alert("Trouble contacting WSO2 Mashup Server ajax service. Please
try again later.");
+ //alert("Trouble contacting WSO2 Mashup Server ajax service.
Please try again later.");
+ //Retrying the request.
+ getInitialRating(ratingDivId, mashupid);
}
});
}
_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev