Last active
November 6, 2016 12:45
-
-
Save rattanchauhan/57990429fe268b54cda629426900cc6c to your computer and use it in GitHub Desktop.
Setting global default ajax timeout through Sencha Architect
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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