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
67ece603
Commit
67ece603
authored
7 years ago
by
GoshaZotov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
getTargetDocContent(true) -> getTargetDocContent()
parent
74132d69
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
cell/view/WorksheetView.js
cell/view/WorksheetView.js
+4
-2
No files found.
cell/view/WorksheetView.js
View file @
67ece603
...
...
@@ -8809,7 +8809,7 @@
return
;
}
var
isIntoShape
=
t
.
objectRender
.
controller
.
getTargetDocContent
(
true
);
var
isIntoShape
=
t
.
objectRender
.
controller
.
getTargetDocContent
();
var
onSelectionCallback
=
function
(
isSuccess
)
{
if
(
!
isSuccess
)
...
...
@@ -8890,6 +8890,8 @@
else
if
(
isIntoShape
&&
specialPasteUndoData
&&
specialPasteUndoData
.
shapeSelectionState
)
//курсор и специальная вставка в шейпе
{
//таким образом удаляю вставляенный фрагмент до специальной вставки
isIntoShape
=
t
.
objectRender
.
controller
.
getTargetDocContent
(
true
);
var
State
=
specialPasteUndoData
.
shapeSelectionState
;
isIntoShape
.
Set_SelectionState
(
State
,
State
.
length
-
1
);
isIntoShape
.
Remove
(
1
,
true
,
true
);
...
...
@@ -10045,7 +10047,7 @@
WorksheetView
.
prototype
.
updateSpecialPasteOptionsPosition
=
function
(
changeActiveRange
)
{
var
_clipboard
=
AscCommonExcel
.
g_clipboardExcel
;
var
isIntoShape
=
this
.
objectRender
.
controller
.
getTargetDocContent
(
true
);
var
isIntoShape
=
this
.
objectRender
.
controller
.
getTargetDocContent
();
if
(
window
[
'
AscCommon
'
].
g_clipboardBase
.
showSpecialPasteButton
&&
isIntoShape
)
{
if
(
window
[
'
AscCommon
'
].
g_clipboardBase
.
specialPasteButtonProps
.
shapeId
===
isIntoShape
.
Id
)
...
...
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