Merge pull request #2470 from ONLYOFFICE/fix/bugfix

[SSE] Fix bug
This commit is contained in:
Julia Radzhabova
2023-07-05 11:57:22 +03:00
committed by GitHub

View File

@ -187,7 +187,7 @@ define([
}
}
var listItem =this.statusbar.sheetListMenu.items[index];
if (listItem.$el.children().first().data('hidden')) {
if (listItem && listItem.$el && listItem.$el.children().first().data('hidden')) {
listItem.setDisabled(locked);
}
},