|
|
@@ -143,7 +143,7 @@ Ext.define('saas.util.BaseUtil', {
|
|
|
request: function (config) {
|
|
|
var url = config.url,
|
|
|
params = config.params,
|
|
|
- async = config.async || true,
|
|
|
+ async = Ext.isBoolean(config.async) ? config.async : true,
|
|
|
method = config.method || 'GET',
|
|
|
timeout = config.timeout || 8000,
|
|
|
defaultHeaders = {
|