jvdrean (SVN) wrote:
Author: jvdrean
Date: 2009-03-03 23:40:14 +0100 (Tue, 03 Mar 2009)
New Revision: 17211
Added:
platform/web/trunk/standard/src/main/webapp/resources/js/xwiki/xwikiexplorer/
platform/web/trunk/standard/src/main/webapp/resources/js/xwiki/xwikiexplorer/xwikiexplorer.js
Modified:
platform/web/trunk/standard/src/main/webapp/resources/js/xwiki/xwiki.js
Log:
XWIKI-3287 : Provide a tree widget allowing to browse a XWiki farm
(wikis>spaces>pages>attachments)
First version of XWikiExplorer widget.
+constants: {
+ /**
+ * Current wiki.
+ */
+ currentWiki: "$context.getDatabase()",
+ /**
+ * Main wiki.
+ */
+ mainWiki: "$context.getMainWikiName()",
This could make the file hard to cache in multiwiki mode using paths as
identifiers, since the JS will have the same address for all wikis.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/