title: Cannot change Ajax timeout in ext-js app
body: <p>I'm trying to override ajax timeout in a <code>Documentum xCP</code> application.</p>
  
  <p><code>Ext.Ajax.setTimeout(120000)</code> and <code>Ext.override(Ext.data.proxy.Ajax, { timeout:120000 })</code> didn't help. Every time an instance of Ext.data.proxy.Ajax is created, it has <code>timeout: 30000</code>. Maybe it's reverted after my call, but I don't know how to check this.</p>
  
  <p>With <code>Ext.override</code> I can create new properties in <code>Ext.data.proxy.Ajax</code> prototype, but existing properties don't change.</p>
  
  <p>I debugging my app in <code>Chrome</code> and using the special parameter in app url to load the debug version of ext-all script.</p>
  
  <p><strong>upd:</strong>
  If I call</p>
  
  <pre><code>Ext.override(Ext.data.proxy.Ajax, { timeout:120004 })`
  </code></pre>
  
  <p>just once, then</p>
  
  <pre><code>Ext.data.proxy.Ajax.prototype.getConfigurator().values["timeout"]==120004
  Ext.data.proxy.Ajax.prototype.timeout==30000
  </code></pre>
  
  <p>The value <code>30000</code> is used in <code>Ext.data.proxy.Ajax.doRequest()</code>.</p>
  
  <p>If I call it again:</p>
  
  <pre><code>Ext.override(Ext.data.proxy.Ajax, { timeout:120005 })`
  </code></pre>
  
  <p>then</p>
  
  <pre><code>Ext.data.proxy.Ajax.prototype.getConfigurator().values["timeout"]==120004
  Ext.data.proxy.Ajax.prototype.timeout==120005
  </code></pre>