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
d6769e32
Commit
d6769e32
authored
8 years ago
by
Ilya Kirillov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed the issue with fast recalculating a document after adding/removing a footnote reference.
parent
541601ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
word/Editor/Run.js
word/Editor/Run.js
+4
-4
No files found.
word/Editor/Run.js
View file @
d6769e32
...
...
@@ -1421,9 +1421,9 @@ ParaRun.prototype.Is_SimpleChanges = function(Changes)
return
true
;
};
/*
Проверяем произошло ли простое изменение параграфа, сейчас главное, чтобы это было не добавление или удаление картинки.
На вход приходит либо массив изменений, либо одно изменение (можно не в массиве).
/*
*
* Проверяем произошло ли простое изменение параграфа, сейчас главное, чтобы это было не добавлениe/удаление картинки
* или ссылки на сноску.
На вход приходит либо массив изменений, либо одно изменение (можно не в массиве).
*/
ParaRun
.
prototype
.
Is_ParagraphSimpleChanges
=
function
(
_Changes
)
{
...
...
@@ -1442,7 +1442,7 @@ ParaRun.prototype.Is_ParagraphSimpleChanges = function(_Changes)
for
(
var
ItemIndex
=
0
,
ItemsCount
=
Data
.
Items
.
length
;
ItemIndex
<
ItemsCount
;
ItemIndex
++
)
{
var
Item
=
Data
.
Items
[
ItemIndex
];
if
(
para_Drawing
===
Item
.
Type
)
if
(
para_Drawing
===
Item
.
Type
||
para_FootnoteReference
===
Item
.
Type
)
return
false
;
}
}
...
...
This diff is collapsed.
Click to expand it.
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