ui: remove notify calls on viewmodel

They should not be required and result in exceptions thrown if this
component is used in combination with ExtJS debug sources

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2019-07-11 12:50:03 +02:00
parent a9e23b28ae
commit fad28c95b1
2 changed files with 0 additions and 5 deletions

View File

@ -353,7 +353,6 @@ Ext.define('PVE.node.CephOsdTree', {
vm.set('outOsd', isOsd && !rec.data.in);
vm.set('osdid', isOsd ? rec.data.id : undefined);
vm.set('osdhost', isOsd ? rec.data.host : undefined);
vm.notify();
},
render_status: function(value, metaData, rec) {

View File

@ -66,7 +66,6 @@ Ext.define('PVE.lxc.MountPointInputPanel', {
var vm = me.getViewModel();
me.vmconfig = vmconfig;
vm.set('unpriv', vmconfig.unprivileged);
vm.notify();
PVE.Utils.forEachMP(function(bus, i) {
var name = "mp" + i.toString();
@ -81,7 +80,6 @@ Ext.define('PVE.lxc.MountPointInputPanel', {
var me = this;
var vm = me.getViewModel();
vm.set('node', nodename);
vm.notify();
me.down('#diskstorage').setNodename(nodename);
},
@ -108,7 +106,6 @@ Ext.define('PVE.lxc.MountPointInputPanel', {
var vm = me.getViewModel();
vm.set('type', rec.data.type);
vm.notify();
}
}
},
@ -121,7 +118,6 @@ Ext.define('PVE.lxc.MountPointInputPanel', {
vm.set('node', view.nodename);
vm.set('unpriv', view.unprivileged);
vm.set('hideStorSelector', view.unused || !view.isCreate);
vm.notify();
}
},