Commit f235a7ed authored by Ilya Kirillov's avatar Ilya Kirillov

Fixed spelling bug.

parent 92d2446a
...@@ -69,31 +69,31 @@ function CChangesFootnotesAddFootnote(Class, Id) ...@@ -69,31 +69,31 @@ function CChangesFootnotesAddFootnote(Class, Id)
this.Id = Id; this.Id = Id;
} }
AscCommon.extendClass(CChangesParaFieldAddItem, AscDFH.CChangesBase); AscCommon.extendClass(CChangesFootnotesAddFootnote, AscDFH.CChangesBase);
CChangesParaFieldAddItem.prototype.Type = AscDFH.historyitem_Footnotes_AddFootnote; CChangesFootnotesAddFootnote.prototype.Type = AscDFH.historyitem_Footnotes_AddFootnote;
CChangesParaFieldAddItem.prototype.Undo = function() CChangesFootnotesAddFootnote.prototype.Undo = function()
{ {
delete this.Class.Footnote[this.Id]; delete this.Class.Footnote[this.Id];
}; };
CChangesParaFieldAddItem.prototype.Redo = function() CChangesFootnotesAddFootnote.prototype.Redo = function()
{ {
this.Class.Footnote[this.Id] = AscCommon.g_oTableId.Get_ById(this.Id); this.Class.Footnote[this.Id] = AscCommon.g_oTableId.Get_ById(this.Id);
}; };
CChangesParaFieldAddItem.prototype.WriteToBinary = function(Writer) CChangesFootnotesAddFootnote.prototype.WriteToBinary = function(Writer)
{ {
// String : Id // String : Id
Writer.WriteString2(this.Id); Writer.WriteString2(this.Id);
}; };
CChangesParaFieldAddItem.prototype.ReadFromBinary = function(Reader) CChangesFootnotesAddFootnote.prototype.ReadFromBinary = function(Reader)
{ {
// String : Id // String : Id
this.Id = Reader.GetString2(); this.Id = Reader.GetString2();
}; };
CChangesParaFieldAddItem.prototype.CreateReverseChange = function() CChangesFootnotesAddFootnote.prototype.CreateReverseChange = function()
{ {
return null; return null;
}; };
CChangesParaFieldAddItem.prototype.Merge = function(oChange) CChangesFootnotesAddFootnote.prototype.Merge = function(oChange)
{ {
if (this.Class !== oChange.Class) if (this.Class !== oChange.Class)
return true; return true;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment