[pve-devel] [PATCH manager 5/5] ext6migrate: Qemu Options fixes
Dominik Csapak
d.csapak at proxmox.com
Mon Mar 21 10:53:13 CET 2016
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 at proxmox.com>
---
www/manager6/qemu/Options.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/www/manager6/qemu/Options.js b/www/manager6/qemu/Options.js
index 9ba913c..6954cbe 100644
--- a/www/manager6/qemu/Options.js
+++ b/www/manager6/qemu/Options.js
@@ -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);
--
2.1.4
More information about the pve-devel
mailing list