Author: tchemit Date: 2012-06-20 10:48:50 +0200 (Wed, 20 Jun 2012) New Revision: 3540 Url: http://chorem.org/repositories/revision/pollen/3540 Log: fixes #626: Error when deleting a participant of a favorite list Modified: trunk/pollen-ui-struts2/src/main/webapp/WEB-INF/jsp/user/favoriteList.jsp Modified: trunk/pollen-ui-struts2/src/main/webapp/WEB-INF/jsp/user/favoriteList.jsp =================================================================== --- trunk/pollen-ui-struts2/src/main/webapp/WEB-INF/jsp/user/favoriteList.jsp 2012-06-19 16:33:54 UTC (rev 3539) +++ trunk/pollen-ui-struts2/src/main/webapp/WEB-INF/jsp/user/favoriteList.jsp 2012-06-20 08:48:50 UTC (rev 3540) @@ -35,14 +35,18 @@ <s:param name="favoriteListId" value="%{favoriteList.topiaId}"/> </s:url> -<s:url id="editPollAccounts" action="editPollAccount" namespace="/user"> +<%--<s:url id="editPollAccounts" action="editPollAccount" namespace="/user">--%> + <%--<s:param name="favoriteListId" value="%{favoriteList.topiaId}"/>--%> +<%--</s:url>--%> + +<s:url id="editFavoriteList" action="editFavoriteList" namespace="/user"> <s:param name="favoriteListId" value="%{favoriteList.topiaId}"/> </s:url> <script type="text/javascript"> var favoriteListId = '<s:property value="favoriteList.topiaId"/>'; - var redirectUrl = "<s:property value='%{editPollAccounts}'/>"; + var redirectUrl = "<s:property value='%{editFavoriteList}'/>"; var deleteTitle = '<s:text name="pollen.action.deletePollAccount"/>'; var deleteUrl = '<s:url action="confirmDeletePollAccount" namespace="/user" />'; var loadPollActionUrl = '<s:url action="getFavoriteListPollAccount" namespace="/json"/>';