Pman.Dialog.CoreNotifyRecur.bjs
[Pman.Core] / Pman.Dialog.CoreNotifyRecur.js
index 5be1fab..55521e8 100644 (file)
@@ -333,6 +333,23 @@ Pman.Dialog.CoreNotifyRecur = {
                                 width : 250,
                                 renderer : function(v,x,r) { 
                                     
+                                    Roo.log(x);
+                                    if (v.length) {
+                                    Roo.log("try fill");
+                                        var cm = _this.grid.colModel;
+                                        Roo.log(this);
+                                        var ci = cm.getColumnByDataIndex(this.name);
+                                        Roo.log(ci);
+                                        
+                                        var ce = cm.getCellEditor(ci);
+                                        Roo.log(ce);
+                                        ce.field.setValue(v);
+                                        return String.format('{0}',ce.field.el.value);
+                                
+                                        
+                                    
+                                    }
+                                    
                                     return String.format('{0}', r.data.freq_hour_name || v); 
                                     
                                 },
@@ -458,6 +475,12 @@ Pman.Dialog.CoreNotifyRecur = {
                 {
                     xtype: 'Button',
                     xns: Roo,
+                    listeners : {
+                        click : function (_self, e)
+                        {
+                            _this.dialog.hide();
+                        }
+                    },
                     text : "Done"
                 }
             ]