ruby: remove historyClose and restore

This commit is contained in:
Taygunova Rina
2023-12-05 16:08:45 +03:00
parent f74f34504f
commit bde236075c
2 changed files with 7 additions and 0 deletions

View File

@ -261,6 +261,11 @@
<%
usersMentions = @file.get_users_mentions %>
if (config.editorConfig.user.id == "uid-3"){
config.events["onRequestHistoryClose"] = null;
config.events["onRequestRestore"] = null;
};
if (config.editorConfig.user.id) {
// add mentions for not anonymous users
config.events['onRequestUsers'] = function (event) {