]> git.proxmox.com Git - pve-manager.git/blobdiff - www/manager6/form/DisplaySelector.js
adapt KVComboBoxes to pass store items using 'comboItems' parameter
[pve-manager.git] / www / manager6 / form / DisplaySelector.js
index 755d05977608d4478b25380975cf547b5299f03e..d5ab30a272791acdb8c92f61674fa8f7989a9d3c 100644 (file)
@@ -1,11 +1,5 @@
 Ext.define('PVE.form.DisplaySelector', {
     extend: 'PVE.form.KVComboBox',
     alias: ['widget.DisplaySelector'],
-  
-    initComponent: function() {
-       var me = this;
-
-       me.data = PVE.Utils.kvm_vga_driver_array();
-       me.callParent();
-    }
+    comboItems: PVE.Utils.kvm_vga_driver_array()
 });