From version 1.1 >
edited by Administrator
on 2015/07/06 22:28
To version < 2.1 >
edited by Sebastian Sams
on 2015/11/04 17:28
>
Change comment: Install extension [org.xwiki.platform:xwiki-platform-appwithinminutes-ui-7.2]

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Admin
1 +XWiki.ssams
XWiki.JavaScriptExtension[0]
code
... ... @@ -1,4 +1,12 @@
1 1  document.observe('xwiki:livetable:newrow', function(event) {
2 + // Fix the display of the application name.
3 + var appLink = event.memo.row.down('td.doc_space a');
4 + var appReference = XWiki.Model.resolve(event.memo.data['doc_space'], XWiki.EntityType.SPACE);
5 + var appLocation = appReference.getReversedReferenceChain().map(function(spaceReference) {
6 + return spaceReference.name;
7 + }).join(' \u00BB ');
8 + appLink.update(appLocation.escapeHTML());
9 +
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');
Copyright 2018 - Österreichisches Weltraum Forum. All rights reserved.