]> git.proxmox.com Git - pve-manager.git/commit
rename component 'id' property to 'stateId'
authorEmmanuel Kasper <e.kasper@proxmox.com>
Mon, 22 Feb 2016 09:16:13 +0000 (10:16 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 23 Feb 2016 11:54:17 +0000 (12:54 +0100)
commit851bd43cc261caf7da3932dd69f5276d051184a6
treefdd2b2af6df92832293714fc385fdaf46d585950
parentb521e9729ec8edad986bc2fcbcbd4c7a48351b0b
rename component 'id' property to 'stateId'

ExtJS6 requires a stateId if we want to save the component state
(seems it is not autogenerated anymore from 'id')
this fix the selection of timeframes in the Summary View

also move properties out of initComponent()

also remove code which duplicates framework code:
setting stateEvents to 'select' will save the component state
after a selection by calling applyState()/getState() automatically
so we don't need to specify a callback ourselves and we don't need
the testChange() method since applyState() will be called anyway
www/manager6/form/RRDTypeSelector.js