On Apr 15, 2009, at 11:06 AM, jvdrean (SVN) wrote:
> Author: jvdrean
> Date: 2009-04-15 11:06:06 +0200 (Wed, 15 Apr 2009)
> New Revision: 18667
>
> Modified:
> platform/web/trunk/standard/src/main/webapp/resources/js/
> smartclient/initsc.js
> Log:
> XWIKI-3583 : Smartclient skin fail to load in specific environments
>
> Fixed.
>
> Modified: platform/web/trunk/standard/src/main/webapp/resources/js/
> smartclient/initsc.js
> ===================================================================
> --- platform/web/trunk/standard/src/main/webapp/resources/js/
> smartclient/initsc.js 2009-04-15 08:55:43 UTC (rev 18666)
> +++ platform/web/trunk/standard/src/main/webapp/resources/js/
> smartclient/initsc.js 2009-04-15 09:06:06 UTC (rev 18667)
> @@ -1 +1,5 @@
> -var isomorphicDir = "$xwiki.getSkinFile('js/smartclient/')";
> +//
> +// TODO : When XWIKI-3582 will be fixed we'd better use the line
> above.
s/above/below/
You might also add that the reason getSkinFile should be used is that
it allows overriding js files in skins.
Thanks
-Vincent
>
> +// var isomorphicDir = "$xwiki.getSkinFile('js/smartclient/')";
> +//
> +var isomorphicDir = "${request.getContextPath()}/resources/js/
> smartclient/";
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs