X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/530ef4b6c5b943cfa68b779d11cf7de29aa878bf..b37ceabb82336ee82757cd32efe353cfab8ec267:/src/direct/RemotingProvider.js diff --git a/src/direct/RemotingProvider.js b/src/direct/RemotingProvider.js index 9c61b52e..4372aaab 100644 --- a/src/direct/RemotingProvider.js +++ b/src/direct/RemotingProvider.js @@ -1,5 +1,5 @@ /*! - * Ext JS Library 3.2.1 + * Ext JS Library 3.2.2 * Copyright(c) 2006-2010 Ext JS, Inc. * licensing@extjs.com * http://www.extjs.com/license @@ -122,6 +122,7 @@ TestAction.multiply( * executing. * @param {Ext.direct.RemotingProvider} provider * @param {Ext.Direct.Transaction} transaction + * @param {Object} meta The meta data */ 'beforecall', /** @@ -130,6 +131,7 @@ TestAction.multiply( * NOT fire after the response has come back from the call. * @param {Ext.direct.RemotingProvider} provider * @param {Ext.Direct.Transaction} transaction + * @param {Object} meta The meta data */ 'call' ); @@ -287,10 +289,10 @@ TestAction.multiply( cb: scope && Ext.isFunction(hs) ? hs.createDelegate(scope) : hs }); - if(this.fireEvent('beforecall', this, t) !== false){ + if(this.fireEvent('beforecall', this, t, m) !== false){ Ext.Direct.addTransaction(t); this.queueTransaction(t); - this.fireEvent('call', this, t); + this.fireEvent('call', this, t, m); } }, @@ -304,7 +306,7 @@ TestAction.multiply( isForm: true }); - if(this.fireEvent('beforecall', this, t) !== false){ + if(this.fireEvent('beforecall', this, t, m) !== false){ Ext.Direct.addTransaction(t); var isUpload = String(form.getAttribute("enctype")).toLowerCase() == 'multipart/form-data', params = { @@ -322,7 +324,7 @@ TestAction.multiply( isUpload: isUpload, params: callback && Ext.isObject(callback.params) ? Ext.apply(params, callback.params) : params }); - this.fireEvent('call', this, t); + this.fireEvent('call', this, t, m); this.processForm(t); } },