PHP8
[Pman.BAdmin] / Pman.Tab.BAdminIPAccess.js
index 296fbc5..81b391e 100644 (file)
@@ -19,6 +19,10 @@ Pman.Tab.BAdminIPAccess = new Roo.XComponent({
   'f2a6c498fb90ee345d997f888fce3b18' :"Delete",
   'e3030abfa75de4573fb37032affa11e7' :"IP Access"
  },
+ _named_strings : {
+  'footer_displayMsg' : '155ca6a755e25c15ad7ce45e2f638f10' /* Displaying Companies{0} - {1} of {2} */ ,
+  'footer_emptyMsg' : 'fc6f97505d89fe9277965c126744647a' /* No Companies found */ 
+ },
 
   part     :  ["BAdmin", "IPAccess" ],
   order    : '006-Pman.Tab.BAdminIPAccess',
@@ -106,6 +110,7 @@ Pman.Tab.BAdminIPAccess = new Roo.XComponent({
                  items  : [
                   {
                    xtype : 'ComboBox',
+                   allowBlank : false,
                    displayField : 'value',
                    editable : false,
                    hiddenName : 'status',
@@ -118,6 +123,8 @@ Pman.Tab.BAdminIPAccess = new Roo.XComponent({
                     render : function (_self)
                      {
                          _this.status = this;
+                         
+                         this.setValue(0);
                      },
                     select : function (combo, record, index)
                      {
@@ -220,7 +227,6 @@ Pman.Tab.BAdminIPAccess = new Roo.XComponent({
        cls : 'table-fixed',
        hover : true,
        loadMask : true,
-       responsive : true,
        rowSelection : true,
        striped : false,
        listeners : {
@@ -258,10 +264,14 @@ Pman.Tab.BAdminIPAccess = new Roo.XComponent({
        store : {
         xtype : 'Store',
         remoteSort : true,
-        sortinfo : { field : 'display_name', direction: 'ASC' },
+        sortInfo : { field : 'display_name', direction: 'ASC' },
         listeners : {
          beforeload : function (_self, o)
           {
+               if (!Pman.buildCompleted) {
+                  return false;
+              }
+          
               o.params = o.params || {};
               
               var status = _this.status.getValue() * 1;