Disable debug info.

This commit is contained in:
Paulo Gustavo Veiga 2012-11-22 00:12:12 -03:00
parent ac8309819c
commit c5bf91a9fe

View File

@ -101,10 +101,9 @@ mindplot.RESTPersistenceManager = new Class({
events.onError(userMsg); events.onError(userMsg);
persistence.onSave = false; persistence.onSave = false;
// @Todo: Only for debug. Remove ... // if (this.status != 0) {
if (this.status != 0) { // throw new Error("responseText:" + responseText + ",status:" + this.status);
throw new Error("responseText:" + responseText + ",status:" + this.status); // }
}
}, },
headers:{"Content-Type":"application/json", "Accept":"application/json"}, headers:{"Content-Type":"application/json", "Accept":"application/json"},