Pman.Dialog.Image.bjs
[Pman.Core] / Pman.Dialog.Image.js
index b50d4b4..4193548 100644 (file)
@@ -141,7 +141,8 @@ Pman.Dialog.Image = {
                                     
                                     if (act.type == 'submit') { // only submitted here if we are 
                                         _this.dialog.hide();
-                                        
+                                        Roo.log("Upload success");
+                                        Roo.log(act);
                                         //console.log(act);
                                         if (_this.callback) {
                                             _this.callback.call(this, act.result.data);
@@ -216,6 +217,11 @@ Pman.Dialog.Image = {
                                     xns: Roo.form,
                                     name : 'onid'
                                 },
+                                {
+                                    xtype: 'Hidden',
+                                    xns: Roo.form,
+                                    name : 'id'
+                                },
                                 {
                                     xtype: 'Hidden',
                                     xns: Roo.form,