mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-05-23 21:42:48 +00:00
form: displaye-edit: add one of the two missing returns
the other one _should_ not be problematic, as field-container itself isn't picked up as a "real" field itself, but we might bind to that somewhere, where enabling could break this. The editable one seems to not be used yet, according to Dominik, so fix that now already. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
e34b0f4a12
commit
15f0d99534
@ -24,7 +24,7 @@ Ext.define('Proxmox.form.field.DisplayEdit', {
|
||||
getEditable: function() {
|
||||
let me = this;
|
||||
let vm = me.getViewModel();
|
||||
vm.get('editable');
|
||||
return vm.get('editable');
|
||||
},
|
||||
|
||||
setValue: function(value) {
|
||||
@ -37,6 +37,7 @@ Ext.define('Proxmox.form.field.DisplayEdit', {
|
||||
getValue: function() {
|
||||
let me = this;
|
||||
let vm = me.getViewModel();
|
||||
// FIXME: add return, but check all use-sites for regressions then
|
||||
vm.get('value');
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user