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
53ec4a91
Commit
53ec4a91
authored
Oct 21, 2016
by
Alexey.Musinov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[mobile] locked cells
parent
aafef003
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
3 deletions
+14
-3
cell/native/native.js
cell/native/native.js
+14
-3
No files found.
cell/native/native.js
View file @
53ec4a91
...
...
@@ -5524,12 +5524,23 @@ function offline_cell_editor_open(x, y, width, height, ratio, isSelectAll, isFor
ws
.
visibleRange
.
r1
=
r1
;
ws
.
visibleRange
.
c2
=
c2
;
ws
.
visibleRange
.
r2
=
r2
;
wb
.
cellEditor
.
isSelectAll
=
isSelectAll
;
if
(
!
isFormulaInsertMode
)
{
wb
.
_onEditCell
(
undefined
,
undefined
,
true
,
false
);
var
canEditCell
=
false
;
if
(
ws
.
_isLockedCells
(
ws
.
getActiveCell
(
0
,
0
,
false
),
false
))
{
canEditCell
=
true
;
if
(
!
isFormulaInsertMode
)
{
wb
.
_onEditCell
(
undefined
,
undefined
,
true
,
false
);
}
}
ws
.
visibleRange
=
range
;
return
canEditCell
;
}
function
offline_cell_editor_process_input_commands
(
commands
,
width
,
height
,
ratio
)
{
_null_object
.
width
=
width
*
ratio
;
...
...
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