summaryrefslogtreecommitdiff
path: root/js/common.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/common.js')
-rwxr-xr-xjs/common.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/js/common.js b/js/common.js
index df1bf8690..670ee1b30 100755
--- a/js/common.js
+++ b/js/common.js
@@ -179,7 +179,10 @@ const xhr = {
console.log('xhr.json', '<<<', obj);
if (obj && typeof App != "undefined")
- App.handleRpcJson(obj);
+ if (!App.handleRpcJson(obj)) {
+ reject(obj);
+ return;
+ }
if (complete != undefined) complete(obj);