Changes for page LiveTable View Sheet
Last modified by Сергей Коршунов on 2025/05/01 21:19
From version 6.1
edited by Сергей Коршунов
on 2024/01/18 17:27
on 2024/01/18 17:27
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-appwithinminutes-ui/15.10.5]
To version 4.1
edited by Сергей Коршунов
on 2023/01/17 14:14
on 2023/01/17 14:14
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-appwithinminutes-ui/14.10.3]
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -60,7 +60,6 @@ 60 60 #end 61 61 ## We need to set the title if we want to be able to sort or filter the doc.title live table column. 62 62 #set ($params = { 63 - 'form_token': $services.csrf.token, 64 64 'template': "${className}Template", 65 65 'title': '__entryName__', 66 66 'parent': $services.model.serialize($doc.documentReference, 'local')
- XWiki.JavaScriptExtension[0]
-
- Code
-
... ... @@ -59,8 +59,7 @@ 59 59 * Rename Application 60 60 */ 61 61 require(['jquery', 'bootstrap', 'xwiki-form-validation-async'], function($) { 62 - ## Note: if not currentApp request param is not passed, we default to the wiki home page reference to avoid a NPE 63 - #set ($currentDocReference = $xwiki.getDocument("$!request.currentApp").getDocumentReference()) 62 + #set ($currentDocReference = $xwiki.getDocument($request.currentApp).getDocumentReference()) 64 64 // if we cannot find any extension related to this page app, it's not part of an extension. 65 65 var isNotAnExtension = $services.extension.xar.getInstalledExtensions($currentDocReference).isEmpty(); 66 66