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
6f572089
Commit
6f572089
authored
Apr 29, 2016
by
GoshaZotov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
+ previous revision
parent
9fb41578
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
cell/model/Workbook.js
cell/model/Workbook.js
+4
-1
cell/view/WorksheetView.js
cell/view/WorksheetView.js
+1
-1
No files found.
cell/model/Workbook.js
View file @
6f572089
...
...
@@ -4823,7 +4823,10 @@ Woorksheet.prototype._moveRange=function(oBBoxFrom, oBBoxTo, copyRange){
sortDependency
(
this
.
workbook
);
}
this
.
autoFilters
.
unmergeTablesAfterMove
(
oBBoxTo
);
if
(
true
==
this
.
workbook
.
bUndoChanges
||
true
==
this
.
workbook
.
bRedoChanges
)
{
this
.
autoFilters
.
unmergeTablesAfterMove
(
oBBoxTo
);
}
// ToDo возможно нужно уменьшить диапазон обновления
History
.
Add
(
AscCommonExcel
.
g_oUndoRedoWorksheet
,
AscCH
.
historyitem_Worksheet_MoveRange
,
...
...
cell/view/WorksheetView.js
View file @
6f572089
...
...
@@ -8861,7 +8861,7 @@
// Вызовем на всякий случай, т.к. мы можем уже обновиться из-за формул ToDo возможно стоит убрать это в дальнейшем (но нужна переработка формул) - http://bugzserver/show_bug.cgi?id=24505
t
.
_updateSelectionNameAndInfo
();
if
(
null
!==
t
.
model
.
getRange3
(
arnTo
.
r1
,
arnTo
.
c1
,
arnTo
.
r2
,
arnTo
.
c2
).
hasMerged
())
if
(
null
!==
t
.
model
.
getRange3
(
arnTo
.
r1
,
arnTo
.
c1
,
arnTo
.
r2
,
arnTo
.
c2
).
hasMerged
()
&&
false
!==
t
.
model
.
autoFilters
.
_intersectionRangeWithTableParts
(
arnTo
)
)
{
t
.
model
.
workbook
.
handlers
.
trigger
(
"
asc_onConfirmAction
"
,
Asc
.
c_oAscConfirm
.
ConfirmPutMergeRange
,
function
()
{
t
.
model
.
autoFilters
.
unmergeTablesAfterMove
(
arnTo
);
...
...
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