mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-04-07 14:06:11 +08:00
ruby: remove historyClose and restore
This commit is contained in:
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user