Last modified by Alex Cotiuga on 2026/07/27 06:09

From version 18.15
edited by Alex Cotiuga
on 2026/07/09 20:28
Change comment: There is no comment for this version
To version 18.19
edited by Alex Cotiuga
on 2026/07/09 20:32
Change comment: There is no comment for this version

Summary

Details

XWiki.JavaScriptExtension[1]
code
... ... @@ -19,7 +19,8 @@
19 19  
20 20   var sourcePage = referrerUrl.pathname
21 21   .replace(/^\/bin\//, '')
22 - .replace(/\/$/, '');
22 + .replace(/\/$/, '')
23 + .replace(/\//g, '.');
23 23  
24 24   if (sourcePage) {
25 25   sourcePageField.val(sourcePage);
use
... ... @@ -1,0 +1,1 @@
1 +currentPage