Changes for page Alder Support Center scripts
Last modified by wiki admin on 2026/08/26 01:04
From version 6.1
edited by wiki admin
on 2026/08/24 22:13
on 2026/08/24 22:13
Change comment:
There is no comment for this version
To version 3.1
edited by wiki admin
on 2026/08/24 21:20
on 2026/08/24 21:20
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,1 +1,1 @@ 1 -Article accordion. Edit the object, not this text. 1 +Article accordion for the customer-facing design. Edit the object, not this text.
- XWiki.JavaScriptExtension[0]
-
- Code
-
... ... @@ -38,21 +38,11 @@ 38 38 return svg; 39 39 } 40 40 41 - function isWikiHome() { 42 - // The employees home page has several H2s (departments, article status, 43 - // publishing workflow). Collapsing a landing page into rows hides the 44 - // thing people came for, so skip it. Matches both URL schemes this 45 - // deployment serves: /bin/view/Main/ and /wiki/<name>/view/Main/. 46 - var path = (window.location.pathname || '').replace(/\/+$/, ''); 47 - return /\/view\/Main(\/WebHome)?$/.test(path); 48 - } 49 - 50 50 function build() { 51 51 var body = document.body; 52 52 if (!body || body.className.indexOf('viewbody') === -1) { 53 53 return; // edit, preview, or anything that is not a rendered page 54 54 } 55 - if (isWikiHome()) { return; } 56 56 var content = document.getElementById('xwikicontent'); 57 57 if (!content) { return; } 58 58 - Name
-
... ... @@ -1,1 +1,1 @@ 1 -Article accordion 1 +Alder article accordion