I tried todo this but i fail at adding a listener to the hdpanel.

This listener is never called:

    // setDrive
        var hdpanel = Ext.create('PVE.qemu.HDInputPanel', {
            title: gettext('Hard Disk'),
            create: true,
            insideWizard: true,
            listeners: {
                change: function(f, value) {
                    alert(value);
                    hdthrottlepanel.setDrive(value);
                }
            }
        });


Stefan

Am 26.01.2014 16:14, schrieb Stefan Priebe - Profihost AG:
> Ok yes that would be great too!
> 
> Stefan
> 
> Excuse my typo sent from my mobile phone.
> 
> Am 26.01.2014 um 14:51 schrieb Dietmar Maurer <[email protected]
> <mailto:[email protected]>>:
> 
>>>> The disk window is simply too overloaded with all that IO throttle
>>>> paramaters.
>>>> They are totally pointless for 95% of our users.
>>>
>>> yes all but why not keeping the 4 simple values like before and just
>>> have all
>>> settings in the seperate window later?
>>
>> I guess the 'correct' way would be to add the IO-throttle tap to the
>> wizard (ordered
>> after the disk tap)?
>>
_______________________________________________
pve-devel mailing list
[email protected]
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to