mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-27 05:52:32 +00:00
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:
parent
a9e23b28ae
commit
fad28c95b1
@ -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) {
|
||||
|
@ -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();
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user