mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-04-07 14:09:12 +08:00
[pdf] Fix bug #77343
This commit is contained in:
committed by
Ilya Kirillov
parent
b605bb28d7
commit
a5c43e6415
@ -1459,6 +1459,10 @@ CChangesPDFDocumentEndRedact.prototype.Undo = function() {
|
||||
let oRedactData = oDoc.appliedRedactsData.pop();
|
||||
oFile.nativeFile["UndoRedact"]();
|
||||
|
||||
let oPageInfo = oDoc.GetPageInfo(this.Page);
|
||||
let nOriginIndex = oPageInfo.GetOriginIndex();
|
||||
|
||||
oFile.pages[this.Page].text = oFile.getText(nOriginIndex);
|
||||
oDoc.Viewer.onUpdatePages([oRedactData.page]);
|
||||
};
|
||||
CChangesPDFDocumentEndRedact.prototype.Redo = function()
|
||||
|
||||
Reference in New Issue
Block a user