Refactoring
This commit is contained in:
parent
7cffe71a8b
commit
2fb50a64ae
|
@ -183,7 +183,7 @@ define([
|
||||||
|
|
||||||
function onLostEditRights() {
|
function onLostEditRights() {
|
||||||
_readonlyRights = true;
|
_readonlyRights = true;
|
||||||
$panelUsers.find('#tlb-change-rights').hide();
|
$panelUsers && $panelUsers.find('#tlb-change-rights').hide();
|
||||||
$btnUsers && !$btnUsers.menu && $panelUsers.hide();
|
$btnUsers && !$btnUsers.menu && $panelUsers.hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue