ext6migrate: Qemu Options fixes

change applyIf to apply, so that the values are changed
and
change activate to show, so that the store starts updating
on site refresh

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2016-03-21 10:53:13 +01:00 committed by Dietmar Maurer
parent 296cab27f5
commit a26cb7118c

View File

@ -370,7 +370,7 @@ Ext.define('PVE.qemu.Options', {
revert_btn.setDisabled(!pending);
};
Ext.applyIf(me, {
Ext.apply(me, {
url: "/api2/json/nodes/" + nodename + "/qemu/" + vmid + "/pending",
interval: 5000,
cwidth1: 170,
@ -384,7 +384,7 @@ Ext.define('PVE.qemu.Options', {
me.callParent();
me.on('show', me.rstore.startUpdate);
me.on('activate', me.rstore.startUpdate);
me.on('hide', me.rstore.stopUpdate);
me.on('destroy', me.rstore.stopUpdate);