csharp: add close history button

This commit is contained in:
suxa56
2023-03-13 13:36:46 +05:00
parent 4b3b44d828
commit 8d06c0afcb

View File

@ -232,7 +232,7 @@
var histData = <%= HistoryData %>;
docEditor.setHistoryData(histData[ver - 1]); // send the link to the document for viewing the version history
};
config.events['onRequestHistoryClose '] = function () { // the user is trying to go back to the document from viewing the document version history
config.events['onRequestHistoryClose'] = function () { // the user is trying to go back to the document from viewing the document version history
document.location.reload();
};
<% } %>