allow string based values for comboboxarray
[roojs1] / Roo / data / HttpProxy.js
index b1359af..0b979ee 100644 (file)
 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;
   
@@ -107,10 +103,6 @@ Roo.extend(Roo.data.HttpProxy, Roo.data.DataProxy, {
                 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){