diff --git a/apps/common/main/lib/view/Header.js b/apps/common/main/lib/view/Header.js index 6f3333034..7933acdee 100644 --- a/apps/common/main/lib/view/Header.js +++ b/apps/common/main/lib/view/Header.js @@ -183,7 +183,7 @@ define([ function onLostEditRights() { _readonlyRights = true; - $panelUsers.find('#tlb-change-rights').hide(); + $panelUsers && $panelUsers.find('#tlb-change-rights').hide(); $btnUsers && !$btnUsers.menu && $panelUsers.hide(); }