From cceba01f8710e47c76c2f3a8c32009ac4d8dd549 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Thu, 4 Oct 2018 17:48:13 +0200 Subject: [PATCH] Change default value for async json_request to true --- api/js/jsapi/egw_json.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/js/jsapi/egw_json.js b/api/js/jsapi/egw_json.js index 8e2f4006a1..39f91a1e50 100644 --- a/api/js/jsapi/egw_json.js +++ b/api/js/jsapi/egw_json.js @@ -67,7 +67,7 @@ egw.extend('json', egw.MODULE_WND_LOCAL, function(_app, _wnd) // as objects and loosing parameters which are undefined // JSON.strigify([123,undefined]) --> '{"0":123}' instead of '[123,null]' this.parameters = _parameters ? [].concat(_parameters) : []; - this.async = _async ? _async : false; + this.async = _async ? _async : true; this.callback = _callback ? _callback : null; this.context = _context ? _context : null; this.sender = _sender ? _sender : null;