]> git.proxmox.com Git - pve-manager.git/blobdiff - www/manager6/form/FirewallPolicySelector.js
ui: backup job: avoid row wrapping due to overly long label
[pve-manager.git] / www / manager6 / form / FirewallPolicySelector.js
index 81492a669c979b94b38bd5b67026a2ed6e4d9c6b..c3404a2ead3fe315938125ae633b3a5aece4f2dc 100644 (file)
@@ -1,16 +1,9 @@
 Ext.define('PVE.form.FirewallPolicySelector', {
-    extend: 'PVE.form.KVComboBox',
+    extend: 'Proxmox.form.KVComboBox',
     alias: ['widget.pveFirewallPolicySelector'],
-  
-    initComponent: function() {
-       var me = this;
-
-       me.data = [ 
-           ['ACCEPT', 'ACCEPT'], 
+    comboItems: [
+           ['ACCEPT', 'ACCEPT'],
            ['REJECT', 'REJECT'],
-           [ 'DROP', 'DROP']
-       ];
-
-       me.callParent();
-    }
+           ['DROP', 'DROP'],
+       ],
 });