Fix #7468 - updating template scanner
[Pman.Cms] / Pman.Dialog.CmsCategoryType.js
index 8f0cbc7..512c5ba 100644 (file)
@@ -30,9 +30,16 @@ Pman.Dialog.CmsCategoryType = {
         this.dialog = Roo.factory({
             xtype: 'LayoutDialog',
             xns: Roo,
+            listeners : {
+                show : function (_self)
+                {
+                  this.form.findField('name').focus();
+                
+                }
+            },
             closable : false,
             collapsible : false,
-            height : 140,
+            height : 120,
             resizable : false,
             title : "Edit / Create Category Type",
             width : 400,
@@ -83,7 +90,7 @@ Pman.Dialog.CmsCategoryType = {
                                     xns: Roo.form,
                                     fieldLabel : 'Name',
                                     name : 'name',
-                                    width : 200
+                                    width : 240
                                 },
                                 {
                                     xtype: 'Hidden',