summaryrefslogtreecommitdiff
path: root/www/js/app.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2019-04-02 10:49:25 -0400
committerPliable Pixels <pliablepixels@gmail.com>2019-04-02 10:49:25 -0400
commit54a54a2907cbf8f07cab2c05dd478570c78cf3f1 (patch)
tree18dd08033f2d96ab48f7634480bf306a82f68203 /www/js/app.js
parent29ac5329274d129b3c85eeda480048c6c7687cc5 (diff)
#801 final cleanups, some test aut stuff too
Diffstat (limited to 'www/js/app.js')
-rwxr-xr-xwww/js/app.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/js/app.js b/www/js/app.js
index af63f450..7c03fbdd 100755
--- a/www/js/app.js
+++ b/www/js/app.js
@@ -701,8 +701,9 @@ angular.module('zmApp', [
if (response.data && typeof(response.data) == 'string' && response.data.startsWith("<pre class=\"cake-error\">")) {
console.log ("cake error detected, attempting fix...");
+ //console.log ("BAD = "+ JSON.stringify(response.data));
response.data = JSON.parse(response.data.replace(/<pre class=\"cake-error\">[\s\S]*<\/pre>/,''));
- //console.log ("FIXED="+response.data);
+ // console.log ("FIXED="+JSON.stringify(response.data));
}
//"data":"<pre class=\"cake-error\">
return response;