Filter some useless error for debug.

This commit is contained in:
Paulo Gustavo Veiga 2012-11-17 13:46:02 -03:00
parent ce932e57e0
commit 964505abd4

View File

@ -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"},