Hi Zuzana,
On 09/15/2010 10:43 AM, Zuzana Zapletalova wrote:
Hello,
I upgrade my xWiki to 2.4 and I have a problem with SpaceExplorer. It doesn't work.
When I try to use it, xWiki returns an error:
XWIKIEXPLORER.JS DEPENDS ON XWIKI.JS
In the older version of xWiki everything works fine (2.2). I was going through the js
scripts and the structure is the same as it was in xWiki 2.2.
Does anybody know where is the problem?
Looks like you didn't import the 2.4 xar (
http://download.forge.objectweb.org/xwiki/xwiki-enterprise-wiki-2.4.xar
). Due to
http://jira.xwiki.org/jira/browse/XSKINX-35 scripts are loaded
with the defer=true by default since 2.4. xwikiexplorer.js is a bit
special and need defer=false. If you edit XWiki.Treeview in wiki editor
you'll see that in your case it is loaded with the default options (so
defer=true).
Hope this helps,
Marius
Thanks, Zuzana.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users