Pman.Dialog.Image.js
[Pman.Core] / Pman.Dialog.Image.js
index 4248952..cec452a 100644 (file)
@@ -108,9 +108,10 @@ Pman.Dialog.Image = {
                                         _this.dialog.el.unmask();
                                          
                                           if (act.type == 'setdata') { 
-                                         
+                                            this.url = _this.data._url ? _this.data._url : baseURL + '/Roo/Images.php'
                                               this.findField('UPLOAD_IDENTIFIER').setValue(
                                                 (new Date() * 1) + '' + Math.random());
+                                                
                                             return;
                                          }