Pman.Dialog.CoreNotifyRecur.bjs
[Pman.Core] / Pman.Dialog.CoreNotifyRecur.js
index 1147577..463a2f9 100644 (file)
@@ -216,7 +216,11 @@ Pman.Dialog.CoreNotifyRecur = {
                                                 tz : 'Asia/Hong_Kong',
                                                 onid : _this.data.onid,
                                                 ontable : _this.data.ontable,
-                                                method : _this.data.method,
+                                                method : _this.data.method, // default...
+                                                
+                                                method_id : _this.data.method_id, // default...
+                                                method_id_display_name : _this.data.method_id_display_name, // default...        
+                                                
                                                 last_event_id : 0,
                                                 freq_day_name : '',
                                                 freq_hour_name : '',
@@ -291,12 +295,12 @@ Pman.Dialog.CoreNotifyRecur = {
                                         xtype: 'ComboBox',
                                         xns: Roo.form,
                                         allowBlank : 'false',
-                                        displayField : '',
+                                        displayField : 'display_name',
                                         editable : 'false',
-                                        emptyText : "Select core_enum",
+                                        emptyText : "Select Type",
                                         fieldLabel : 'core_enum',
                                         forceSelection : true,
-                                        hiddenName : '',
+                                        hiddenName : 'method_id',
                                         listWidth : 400,
                                         loadingText : "Searching...",
                                         minChars : 2,