]> git.proxmox.com Git - pve-manager.git/commit - www/manager6/Toolkit.js
ui: rbd: storage: obsolete strange getBinds binding assembly
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 15 Nov 2018 12:20:10 +0000 (13:20 +0100)
committerDominik Csapak <d.csapak@proxmox.com>
Mon, 19 Nov 2018 09:40:49 +0000 (10:40 +0100)
commit8c93faf917496b1664ef2845faddb4387ccd15c3
tree34a985753198e0cbd24b8ad28989ab61fab2906c
parentb42d008b3ac7a0633e17498022256f32a6e82ddb
ui: rbd: storage: obsolete strange getBinds binding assembly

this was added for our (also in other places used):
> xtype: me.isCreate ? 'pveCephPoolSelector' : 'displayfield',
construct. But as displayfield does not has a submitValue setter we
cannot bind it generally.

So add such a setter with a small override and declare the bindings
direct when declaring the items, less side effects and all the
configurations for an item stays in the same place.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/Toolkit.js
www/manager6/storage/RBDEdit.js