Integrate Designer location with the editor ...

This commit is contained in:
Paulo Gustavo Veiga
2012-07-01 17:54:46 -03:00
parent 2757a5ddb4
commit 7752ac0dc1
6 changed files with 13 additions and 6 deletions

View File

@@ -10,7 +10,7 @@
<%--@elvariable id="editorTryMode" type="java.lang.String"--%>
<%--@elvariable id="mapXml" type="com.wisemapping.model.User"--%>
<%
User user = Utils.getUser(true);
User user = Utils.getUser();
if (user != null) {
request.setAttribute("principal", user);
}
@@ -44,6 +44,7 @@
var userOptions = ${mindmap.properties};
options.zoom = userOptions.zoom;
options.readOnly = ${!!readOnlyMode};
options.locale = '${locale}';
// Set map id ...
options.mapId = mapId;