Roo.data.HttpProxy = function(conn){
Roo.data.HttpProxy.superclass.constructor.call(this);
// is conn a conn config or a real conn?
- if (conn.xtype) {
- Roo.apply(this.conn.xtype);
- conn = fals;
- }
this.conn = conn;
this.useAjax = !conn || !conn.events;
callback : this.loadResponse,
scope: this
};
- if (this.timeout) {
- Roo.log('setting timeout to ' + this.timeout);
- o.timeout = this.timeout;
- }
if(this.useAjax){
Roo.applyIf(o, this.conn);
if(this.activeRequest){