Add readOnly support to the mindmapList.

This commit is contained in:
Paulo Gustavo Veiga
2012-06-17 12:24:09 -03:00
parent 5e67811dcf
commit 26766fdbc6
13 changed files with 256 additions and 321 deletions

View File

@@ -36,6 +36,7 @@
options.persistenceManager = new mindplot.RESTPersistenceManager("service/maps/{id}/document");
var userOptions = ${mindmap.properties};
options.zoom = userOptions.zoom;
options.readOnly = ${!!readOnlyMode};
// Set map id ...
options.mapId = mapId;