- fix js error when no lists to display

(cherry picked from commit 8b4960206d)
This commit is contained in:
Max Pozdeev 2021-09-22 12:52:34 +03:00
parent 2052ad337f
commit deb25cbaa1

View file

@ -1374,7 +1374,7 @@ function tabSelect(elementOrId)
}
if ( !tabLists.exists(id) ) {
// TODO: handle unknown list
flashError(_mtt.lang.get('denied'), id);
flashError(_mtt.lang.get('denied'));
return;
}