mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 23:50:03 -06:00
Fix disabled logic of menu item
https://fedorahosted.org/freeipa/ticket/3902
This commit is contained in:
parent
511a5f248b
commit
3ef72bc4dc
@ -168,7 +168,7 @@ define(['dojo/_base/declare',
|
|||||||
if (!li_node) return;
|
if (!li_node) return;
|
||||||
}
|
}
|
||||||
|
|
||||||
dom_class.toggle(li_node, 'disabled', !menu_item.disabled);
|
dom_class.toggle(li_node, 'disabled', !!menu_item.disabled);
|
||||||
dom_class.toggle(li_node, 'selected', menu_item.selected);
|
dom_class.toggle(li_node, 'selected', menu_item.selected);
|
||||||
dom_style.set(li_node, {
|
dom_style.set(li_node, {
|
||||||
display: menu_item.hidden ? 'none': 'default'
|
display: menu_item.hidden ? 'none': 'default'
|
||||||
|
Loading…
Reference in New Issue
Block a user