[Mashup-dev] svn commit r19176 - trunk/mashup/java/modules/dashboard/javascript

tyrell at wso2.com tyrell at wso2.com
Sat Jul 12 08:41:09 PDT 2008


Author: tyrell
Date: Sat Jul 12 08:41:09 2008
New Revision: 19176
URL: http://wso2.org/svn/browse/wso2?view=rev&revision=19176

Log:
Fixing MASHUP-936.

Modified:
   trunk/mashup/java/modules/dashboard/javascript/gadgets.js

Modified: trunk/mashup/java/modules/dashboard/javascript/gadgets.js
URL: http://wso2.org/svn/browse/wso2/trunk/mashup/java/modules/dashboard/javascript/gadgets.js?rev=19176&r1=19175&r2=19176&view=diff
==============================================================================
--- trunk/mashup/java/modules/dashboard/javascript/gadgets.js	(original)
+++ trunk/mashup/java/modules/dashboard/javascript/gadgets.js	Sat Jul 12 08:41:09 2008
@@ -593,7 +593,8 @@
 
             if (resp == 'deleted') {
                 // Refresh the gadget container page
-                location.reload();
+                window.location.href = window.location.pathname;
+
             } else {
                 alert(transport.responseText.replace(/^\s+|\s+$/g, ''));
             }



More information about the Mashup-dev mailing list