]> git.proxmox.com Git - pve-manager.git/blobdiff - www/manager6/form/ContentTypeSelector.js
adapt KVComboBoxes to pass store items using 'comboItems' parameter
[pve-manager.git] / www / manager6 / form / ContentTypeSelector.js
index 0c74524e5a9437b2acfa306cc8c505d4a58fc4c6..3c8b4bd1feb6af5aafa2fd33d669538d1fd39f1e 100644 (file)
@@ -7,14 +7,14 @@ Ext.define('PVE.form.ContentTypeSelector', {
     initComponent: function() {
        var me = this;
 
-       me.data = [];
+       me.comboItems = [];
 
        if (me.cts === undefined) {
            me.cts = ['images', 'iso', 'vztmpl', 'backup', 'rootdir'];
        }
 
        Ext.Array.each(me.cts, function(ct) {
-           me.data.push([ct, PVE.Utils.format_content_types(ct)]);
+           me.comboItem.push([ct, PVE.Utils.format_content_types(ct)]);
        });
 
        me.callParent();