Pman.Dialog.Image.bjs
[Pman.Core] / Pman.Dialog.Image.js
index 202afe9..ac7d39b 100644 (file)
@@ -124,6 +124,10 @@ Pman.Dialog.Image = {
                                     if (act.type == 'setdata') { 
                                         this.url = _this.data._url ? _this.data._url : baseURL + '/Roo/Images.php';
                                         this.el.dom.action = this.url;
+                                        if (typeof(_this.data.timeout) != 'undefined') {
+                                            this.timeout = _this.data.timeout;
+                                        }
+                                        
                                         this.findField('UPLOAD_IDENTIFIER').setValue(
                                             (new Date() * 1) + '' + Math.random());