Pman.Dialog.VerifyAccess.bjs
[Pman.Core] / Pman.Dialog.VerifyAccess.js
index 8a1af29..c2ef85e 100644 (file)
@@ -183,14 +183,7 @@ Roo.apply(Pman.Dialog.VerifyAccess.prototype, {
             '|xns' : 'Roo.bootstrap'
            }
           ]
-         }
-        ]
-       },
-       {
-        xtype : 'Row',
-        xns : Roo.bootstrap,
-        '|xns' : 'Roo.bootstrap',
-        items  : [
+         },
          {
           xtype : 'Column',
           xs : 12,
@@ -208,14 +201,7 @@ Roo.apply(Pman.Dialog.VerifyAccess.prototype, {
             '|xns' : 'Roo.bootstrap'
            }
           ]
-         }
-        ]
-       },
-       {
-        xtype : 'Row',
-        xns : Roo.bootstrap,
-        '|xns' : 'Roo.bootstrap',
-        items  : [
+         },
          {
           xtype : 'Column',
           xs : 12,
@@ -225,12 +211,17 @@ Roo.apply(Pman.Dialog.VerifyAccess.prototype, {
            {
             xtype : 'ComboBox',
             allowBlank : false,
+            alwaysQuery : true,
             displayField : 'value',
             editable : false,
             fieldLabel : _this._strings['004bf6c9a40003140292e97330236c53'] /* Action */,
+            forceSelection : true,
             hiddenName : 'status',
+            indicatorpos : 'right',
             mode : 'local',
             name : 'status_name',
+            selectOnFocus : true,
+            tpl : '<div class=\"roo-select2-result\"><b>{value}</b></div>',
             triggerAction : 'all',
             valueField : 'code',
             listeners : {
@@ -245,6 +236,7 @@ Roo.apply(Pman.Dialog.VerifyAccess.prototype, {
              xtype : 'SimpleStore',
              data : [
                  ['1', 'Approve'],
+                 ['-2', 'Temporary'],
                  ['-1', 'Reject']
              ],
              fields : [ 'code', 'value' ],
@@ -253,6 +245,19 @@ Roo.apply(Pman.Dialog.VerifyAccess.prototype, {
             }
            }
           ]
+         },
+         {
+          xtype : 'Column',
+          xs : 12,
+          xns : Roo.bootstrap,
+          '|xns' : 'Roo.bootstrap',
+          items  : [
+           {
+            xtype : 'DateField',
+            xns : Roo.bootstrap,
+            '|xns' : 'Roo.bootstrap'
+           }
+          ]
          }
         ]
        },