Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sdkjs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
sdkjs
Commits
f235a7ed
Commit
f235a7ed
authored
Dec 06, 2016
by
Ilya Kirillov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed spelling bug.
parent
92d2446a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
word/Editor/FootnotesChanges.js
word/Editor/FootnotesChanges.js
+8
-8
No files found.
word/Editor/FootnotesChanges.js
View file @
f235a7ed
...
@@ -69,31 +69,31 @@ function CChangesFootnotesAddFootnote(Class, Id)
...
@@ -69,31 +69,31 @@ function CChangesFootnotesAddFootnote(Class, Id)
this
.
Id
=
Id
;
this
.
Id
=
Id
;
}
}
AscCommon
.
extendClass
(
CChanges
ParaFieldAddItem
,
AscDFH
.
CChangesBase
);
AscCommon
.
extendClass
(
CChanges
FootnotesAddFootnote
,
AscDFH
.
CChangesBase
);
CChanges
ParaFieldAddItem
.
prototype
.
Type
=
AscDFH
.
historyitem_Footnotes_AddFootnote
;
CChanges
FootnotesAddFootnote
.
prototype
.
Type
=
AscDFH
.
historyitem_Footnotes_AddFootnote
;
CChanges
ParaFieldAddItem
.
prototype
.
Undo
=
function
()
CChanges
FootnotesAddFootnote
.
prototype
.
Undo
=
function
()
{
{
delete
this
.
Class
.
Footnote
[
this
.
Id
];
delete
this
.
Class
.
Footnote
[
this
.
Id
];
};
};
CChanges
ParaFieldAddItem
.
prototype
.
Redo
=
function
()
CChanges
FootnotesAddFootnote
.
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
);
};
};
CChanges
ParaFieldAddItem
.
prototype
.
WriteToBinary
=
function
(
Writer
)
CChanges
FootnotesAddFootnote
.
prototype
.
WriteToBinary
=
function
(
Writer
)
{
{
// String : Id
// String : Id
Writer
.
WriteString2
(
this
.
Id
);
Writer
.
WriteString2
(
this
.
Id
);
};
};
CChanges
ParaFieldAddItem
.
prototype
.
ReadFromBinary
=
function
(
Reader
)
CChanges
FootnotesAddFootnote
.
prototype
.
ReadFromBinary
=
function
(
Reader
)
{
{
// String : Id
// String : Id
this
.
Id
=
Reader
.
GetString2
();
this
.
Id
=
Reader
.
GetString2
();
};
};
CChanges
ParaFieldAddItem
.
prototype
.
CreateReverseChange
=
function
()
CChanges
FootnotesAddFootnote
.
prototype
.
CreateReverseChange
=
function
()
{
{
return
null
;
return
null
;
};
};
CChanges
ParaFieldAddItem
.
prototype
.
Merge
=
function
(
oChange
)
CChanges
FootnotesAddFootnote
.
prototype
.
Merge
=
function
(
oChange
)
{
{
if
(
this
.
Class
!==
oChange
.
Class
)
if
(
this
.
Class
!==
oChange
.
Class
)
return
true
;
return
true
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment