mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-08-10 21:47:23 +00:00
button: don't auto set selection model if explicitly set to false
while one could use `selModel: null` to achieve this it feels really weird that `selModel: false` could result in a selection model being auto searched and set Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
271171f81a
commit
791f4ae3fb
@ -65,7 +65,7 @@ Ext.define('Proxmox.button.Button', {
|
||||
me.callParent();
|
||||
|
||||
var grid;
|
||||
if (!me.selModel && me.selModel !== null) {
|
||||
if (!me.selModel && me.selModel !== null && me.selModel !== false) {
|
||||
grid = me.up('grid');
|
||||
if (grid && grid.selModel) {
|
||||
me.selModel = grid.selModel;
|
||||
|
Loading…
Reference in New Issue
Block a user