From c5bf91a9fe1886d0631348fcda8dee5d17cb50a2 Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Thu, 22 Nov 2012 00:12:12 -0300 Subject: [PATCH] Disable debug info. --- mindplot/src/main/javascript/RestPersistenceManager.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/mindplot/src/main/javascript/RestPersistenceManager.js b/mindplot/src/main/javascript/RestPersistenceManager.js index f4a09bd4..a7cc8bd4 100644 --- a/mindplot/src/main/javascript/RestPersistenceManager.js +++ b/mindplot/src/main/javascript/RestPersistenceManager.js @@ -101,10 +101,9 @@ mindplot.RESTPersistenceManager = new Class({ events.onError(userMsg); persistence.onSave = false; - // @Todo: Only for debug. Remove ... - if (this.status != 0) { - throw new Error("responseText:" + responseText + ",status:" + this.status); - } +// if (this.status != 0) { +// throw new Error("responseText:" + responseText + ",status:" + this.status); +// } }, headers:{"Content-Type":"application/json", "Accept":"application/json"},