- fix js error when no lists to display

This commit is contained in:
Max Pozdeev 2021-09-22 12:52:34 +03:00
parent ea2ace9066
commit 8b4960206d

View file

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