mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-04-07 14:06:11 +08:00
java-spring: remove templates field from Permissions, fix version history
This commit is contained in:
@ -120,13 +120,14 @@
|
||||
};
|
||||
|
||||
var histArray = [[${model.GetHistory()}]];
|
||||
var history = histArray[0];
|
||||
var historyData = histArray[1];
|
||||
var hist = JSON.parse(histArray[0]);
|
||||
var historyData = JSON.parse(histArray[1]);
|
||||
var usersForMentions = [[${usersForMentions}]];
|
||||
console.log(hist);
|
||||
|
||||
if (history && historyData) {
|
||||
if (hist && historyData) {
|
||||
config.events['onRequestHistory'] = function () {
|
||||
docEditor.refreshHistory(history);
|
||||
docEditor.refreshHistory(hist);
|
||||
};
|
||||
config.events['onRequestHistoryData'] = function (event) {
|
||||
var ver = event.data;
|
||||
|
||||
Reference in New Issue
Block a user