add title to pulldown
[Pman.Admin] / Pman.Dialog.AdminEnumType.js
index aea4d2f..e94bf6a 100644 (file)
@@ -93,12 +93,18 @@ Pman.Dialog.AdminEnumType = {
                                   {
                                       if(action.type == 'submit'){
                                           _this.dialog.hide();
+                                          
+                                          if(_this.callback){
+                                              _this.callback.call(_this, _this.form.getValues());
+                                          }
+                                          return
                                       }
                                   }
                             },
                             items : [
                                {
                                     '|xns' : 'Roo.form',
+                                    allowBlank : false,
                                     name : 'name',
                                     width : 270,
                                     xtype : 'TextField',