NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use
trunk.foswiki.org to view this page for some minimal testing.
Use
Item9693 for docu changes for 1.2 and 2.0.
Item10264: Change template-js-css logic from foswikiJs to foswikiNoJs
| Priority: |
CurrentState: |
AppliesTo: |
Component: |
WaitingFor: |
| Urgent |
Waiting for Release |
Engine |
|
|
Currently the core javascript
jquery.foswiki.js adds a css classname
foswikiJs to the
html element that is subsequently used to hide/show page elements by css.
As raised in
Tasks.Item10245 it would be better to reverse this logic and to have a
foswikiNoJs tag in the html and remove that with javascript.
This makes it easier to style for the default (users have javascript, Foswiki may be used without but that is an edge case).
Implementation effect: because the
html element cannot have a
class tag, we need to move the default class to the body element. The check must then be done "on document ready".
--
ArthurClemens - 15 Jan 2011
I have updated:
- Core:
-
templates/foswiki.tmpl
-
pub/System/SkinTemplates/base_src.css
- PatternSkin:
-
templates/foswiki.pattern.tmpl
- TwistyPlugin:
-
pub/System/TwistyPlugin/jquery.twisty.uncompressed.css (removed styles, and removed from MANIFEST)
Other skins need to be done. Priority set to urgent to not forget.
--
ArthurClemens - 15 Jan 2011
Must fix DefaultUserRegistration now.
--
ArthurClemens - 17 Jan 2011