Changes for page LiveTable View Sheet
Last modified by Martin Výlet on 19.03.2025 21:26
From version 3.1
edited by Administrator
on 21.07.2023 12:40
on 21.07.2023 12:40
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-appwithinminutes-ui/15.5]
To version 4.1
edited by Martin Výlet
on 18.06.2024 09:10
on 18.06.2024 09:10
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-appwithinminutes-ui/15.10.10]
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. xwikiadm1 +XWiki.vyl0022
- XWiki.JavaScriptExtension[0]
-
- Code
-
... ... @@ -59,7 +59,8 @@ 59 59 * Rename Application 60 60 */ 61 61 require(['jquery', 'bootstrap', 'xwiki-form-validation-async'], function($) { 62 - #set ($currentDocReference = $xwiki.getDocument($request.currentApp).getDocumentReference()) 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()) 63 63 // if we cannot find any extension related to this page app, it's not part of an extension. 64 64 var isNotAnExtension = $services.extension.xar.getInstalledExtensions($currentDocReference).isEmpty(); 65 65