Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Setting global default ajax timeout through Sencha Architect
Ext.data.proxy.Server.override ({
timeout: 300000
});
Ext.data.Connection.override({
withCredentials: false,
useDefaultXhrHeader: false,
disableCaching:false,
timeout: 300000
});
Ext.Ajax.setWithCredentials(false);
Ext.Ajax.setUseDefaultXhrHeader(false);
Ext.Ajax.setDisableCaching(false);
Ext.Ajax.setTimeout(300000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment