Skip to content

Instantly share code, notes, and snippets.

@app2641
Created August 6, 2012 06:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save app2641/3271202 to your computer and use it in GitHub Desktop.
Save app2641/3271202 to your computer and use it in GitHub Desktop.
/**
* Ext.ux.direct.RemotingProvider
* @app2641
*/
Ext.define('Ext.ux.direct.RemotingProvider', {
extend: 'Ext.direct.RemotingProvider',
onData: function (options, success, response) {
App.Request.splice(App.Request.length - 1, 1);
this.callParent(arguments);
},
sendRequest: function (data) {
App.Request.push(true);
this.callParent(arguments);
},
sendFormRequest: function (transaction) {
App.Request.push(true);
this.callParent(arguments);
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment