Change default value for async json_request to true

This commit is contained in:
Hadi Nategh 2018-10-04 17:48:13 +02:00
parent 246abdbb1c
commit cceba01f87

View File

@ -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;