Changes for page App Within Minutes
Last modified by Thomas Mortagne on 2019/02/28 11:44
From version 2.1
edited by Thomas Mortagne
on 2014/09/22 15:15
on 2014/09/22 15:15
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-appwithinminutes-ui-6.2]
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- XWiki.JavaScriptExtension[0]
-
- Code
-
... ... @@ -2,5 +2,6 @@ 2 2 // Add the xredirect parameter to the query string of the delete action to 3 3 // redirect the user back to the live table after an application is deleted. 4 4 var deleteLink = event.memo.row.down('td.actions').down('a.actiondelete'); 5 - deleteLink.href = deleteLink.href + '&xredirect=' + encodeURIComponent(window.location.href); 5 + // The delete URL doesn't have any query string by default. 6 + deleteLink.href = deleteLink.href + '?xredirect=' + encodeURIComponent(window.location.href); 6 6 });