mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-09-12 07:10:07 +02:00
fix view history of maps
This commit is contained in:
parent
94f070832c
commit
438bb5a7d6
@ -37,6 +37,7 @@ mindplot.LocalStorageManager = new Class({
|
|||||||
if (xml == null || this.forceLoad) {
|
if (xml == null || this.forceLoad) {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: this.documentUrl.replace("{id}", mapId),
|
url: this.documentUrl.replace("{id}", mapId),
|
||||||
|
headers:{"Content-Type":"text/plain","Accept":"application/xml"},
|
||||||
type:'get',
|
type:'get',
|
||||||
dataType: "text",
|
dataType: "text",
|
||||||
async: false,
|
async: false,
|
||||||
|
@ -50,7 +50,7 @@
|
|||||||
);
|
);
|
||||||
</c:if>
|
</c:if>
|
||||||
<c:if test="${memoryPersistence || readOnlyMode}">
|
<c:if test="${memoryPersistence || readOnlyMode}">
|
||||||
options.persistenceManager = new mindplot.LocalStorageManager("c/restful/maps/{id}${hid!=null?'/':''}${hid!=null?hid:''}/document/xml${principal!=null?'':'-pub'}",true);
|
options.persistenceManager = new mindplot.LocalStorageManager("c/restful/maps/{id}${hid!=null?'/':''}${hid!=null?hid:''}/document/xml${principal!=null?'':'-pub'}",true);
|
||||||
</c:if>
|
</c:if>
|
||||||
|
|
||||||
var userOptions = ${mindmap.properties};
|
var userOptions = ${mindmap.properties};
|
||||||
|
Loading…
Reference in New Issue
Block a user