From f83af70290062421a8bf9421fb263ecfeecb56c1 Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 7 Dec 2021 12:08:17 +0100 Subject: [PATCH] Fix type error with OO --- .../onlyoffice/v4/sdkjs/cell/sdk-all.js | 38 +++++++++---------- .../onlyoffice/v4/sdkjs/slide/sdk-all.js | 38 +++++++++---------- .../onlyoffice/v4/sdkjs/word/sdk-all.js | 38 +++++++++---------- 3 files changed, 57 insertions(+), 57 deletions(-) diff --git a/www/common/onlyoffice/v4/sdkjs/cell/sdk-all.js b/www/common/onlyoffice/v4/sdkjs/cell/sdk-all.js index 4d1d57adc..31bdf0959 100644 --- a/www/common/onlyoffice/v4/sdkjs/cell/sdk-all.js +++ b/www/common/onlyoffice/v4/sdkjs/cell/sdk-all.js @@ -19304,25 +19304,25 @@ AscDFH.changesRelationMap[AscDFH.historyitem_ParaRun_MathForcedBreak]=[AscDFH.hi this.Type||oChange.Type===AscDFH.historyitem_ParaRun_TextPr||oChange.Type===AscDFH.historyitem_ParaRun_RFonts)return false;return true}function private_ParaRunChangesOnMergeLangTextPr(oChange){if(oChange.Class!==this.Class)return true;if(oChange.Type===this.Type||oChange.Type===AscDFH.historyitem_ParaRun_TextPr||oChange.Type===AscDFH.historyitem_ParaRun_Lang)return false;return true}function CChangesRunAddItem(Class,Pos,Items,Color){AscDFH.CChangesBaseContentChange.call(this,Class,Pos,Items,true); this.Color=true===Color?true:false}CChangesRunAddItem.prototype=Object.create(AscDFH.CChangesBaseContentChange.prototype);CChangesRunAddItem.prototype.constructor=CChangesRunAddItem;CChangesRunAddItem.prototype.Type=AscDFH.historyitem_ParaRun_AddItem;CChangesRunAddItem.prototype.Undo=function(){var oRun=this.Class;oRun.Content.splice(this.Pos,this.Items.length);oRun.RecalcInfo.Measure=true;oRun.private_UpdateSpellChecking();oRun.private_UpdateTrackRevisionOnChangeContent(false)};CChangesRunAddItem.prototype.Redo= function(){var oRun=this.Class;var Array_start=oRun.Content.slice(0,this.Pos);var Array_end=oRun.Content.slice(this.Pos);oRun.Content=Array_start.concat(this.Items,Array_end);oRun.RecalcInfo.Measure=true;oRun.private_UpdateSpellChecking();oRun.private_UpdateTrackRevisionOnChangeContent(false);for(var nIndex=0,nCount=this.Items.length;nIndex