mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-25 23:44:54 +01:00
Filter some useless error for debug.
This commit is contained in:
parent
ce932e57e0
commit
964505abd4
@ -99,10 +99,12 @@ mindplot.RESTPersistenceManager = new Class({
|
||||
}
|
||||
}
|
||||
events.onError(userMsg);
|
||||
|
||||
// @Todo: Only for debug. Remove.
|
||||
persistence.onSave = false;
|
||||
|
||||
// @Todo: Only for debug. Remove ...
|
||||
if (this.status != 0) {
|
||||
throw new Error("responseText:" + responseText + ",status:" + this.status);
|
||||
}
|
||||
},
|
||||
|
||||
headers:{"Content-Type":"application/json", "Accept":"application/json"},
|
||||
|
Loading…
Reference in New Issue
Block a user