Author: jonathan Date: Wed Jul 9 16:11:42 2008 New Revision: 19054 URL: http://wso2.org/svn/browse/wso2?view=rev&revision=19054
Log: MASHUP-911 fix: ensure we fully delete the query from the page after we've gotten confirmation from the Ajax service. Modified: trunk/mashup/java/modules/www/index.jsp Modified: trunk/mashup/java/modules/www/index.jsp URL: http://wso2.org/svn/browse/wso2/trunk/mashup/java/modules/www/index.jsp?rev=19054&r1=19053&r2=19054&view=diff ============================================================================== --- trunk/mashup/java/modules/www/index.jsp (original) +++ trunk/mashup/java/modules/www/index.jsp Wed Jul 9 16:11:42 2008 @@ -103,7 +103,7 @@ userLoggedOn = <%=RegistryUtils.isLoggedIn(userRegistry) %>; function deleteQuery(queryPaneId, queryPath, queryParams) { - new Ajax.Updater(queryPaneId, "ajax_userQuery.jsp", { + new Ajax.Request("ajax_userQuery.jsp", { method: "delete", parameters : { "queryParams" : queryParams, @@ -125,6 +125,8 @@ $(nextDiv.id + "up").hide(); } + Element.remove($(queryPaneId)); + } }); } @@ -346,7 +348,7 @@ </td> <td class="desc" colspan="2"> <%=result.getContentString() %> - </td> + </td> d </tr> <% _______________________________________________ Mashup-dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/mashup-dev
