Changes for page Skin
Last modified by SuperNico Laub on 2025/09/18 17:54
From version 1.1
edited by superadmin
on 2025/05/22 17:43
on 2025/05/22 17:43
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-skin-ui/16.10.8]
To version 2.1
edited by SuperNico Laub
on 2025/09/18 17:54
on 2025/09/18 17:54
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-skin-ui/17.7.0]
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.super admin1 +xwiki:XWiki.supernico - Content
-
... ... @@ -61,9 +61,7 @@ 61 61 62 62 {{html}} 63 63 <noscript> 64 - <div class="box errormessage"> 65 - $escapetool.xml($services.localization.render('skin.sheet.nojs', ['LINK_START', 'LINK_END', 'XWiki.XWikiSkinFileOverrideClass'])).replace('LINK_START', "<a href='$escapetool.xml($doc.getURL('edit', 'editor=object'))'>").replace('LINK_END', '</a>') 66 - </div> 64 + #error($escapetool.xml($services.localization.render('skin.sheet.nojs', ['LINK_START', 'LINK_END', 'XWiki.XWikiSkinFileOverrideClass'])).replace('LINK_START', "<a href='$escapetool.xml($doc.getURL('edit', 'editor=object'))'>").replace('LINK_END', '</a>')) 67 67 </noscript> 68 68 {{/html}} 69 69
- XWiki.JavaScriptExtension[0]
-
- Code
-
... ... @@ -70,10 +70,19 @@ 70 70 // Then we hide the object via jQuery 71 71 properties.hide(); 72 72 // So now we can make it slide (not possible if it were not hidden by jQuery first) 73 - properties.slideDown(); 73 + properties.slideDown(400, function () { 74 + $(this).addClass('property-slided'); 75 + }); 74 74 } else { 75 75 // The other time, we just use the toggle function 76 - properties.slideToggle(); 78 + properties.slideToggle({ 79 + 'start': function() { 80 + $(this).removeClass('property-slided'); 81 + }, 82 + 'complete': function() { 83 + $(this).addClass('property-slided'); 84 + } 85 + }); 77 77 } 78 78 } 79 79