PDA

View Full Version : Timeout when loading element



jthomps
11 Aug 2007, 7:54 PM
Hi, I'm using ext-1.1 with the YUI adapter and YUI-2.2.2.

I don't seem to be able to change the default timeout of 30 seconds when loading an element's contents using UpdateManager. I'm attempting to use the following snippet of code:



sets.on('select', function(combo, record, index) {
Ext.get('thumbs-div').load({
url:'get_flickr.php'
, params:{type:'photos', id:record['id']}
, text:'Loading images, this may take a while...'
, timeout:90
});
});

The variable "sets" is a combobox and I'm attempting to load pictures from flickr when a photoset is chosen from the combobox. As you can see, I'm attempting to set the timeout to 90 seconds, however, the request times out at 30 seconds each time.

Has anyone else successfully increased the timeout to greater than 30 seconds?

Thanks,

jthomps