Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
web-apps
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
web-apps
Commits
93cf75ce
Commit
93cf75ce
authored
Nov 29, 2016
by
Julia Radzhabova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SSE] Disable adding formula from the cell editor line only when input text to the cell.
parent
0fb16232
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
apps/spreadsheeteditor/main/app/controller/CellEditor.js
apps/spreadsheeteditor/main/app/controller/CellEditor.js
+2
-0
apps/spreadsheeteditor/main/app/view/CellEditor.js
apps/spreadsheeteditor/main/app/view/CellEditor.js
+0
-1
No files found.
apps/spreadsheeteditor/main/app/controller/CellEditor.js
View file @
93cf75ce
...
...
@@ -125,6 +125,7 @@ define([
this
.
api
.
isCEditorFocused
=
false
;
this
.
editor
.
cellNameDisabled
(
false
);
}
this
.
editor
.
$btnfunc
.
toggleClass
(
'
disabled
'
,
state
==
Asc
.
c_oAscCellEditorState
.
editText
);
},
onApiCellSelection
:
function
(
info
)
{
...
...
@@ -147,6 +148,7 @@ define([
onCellsRange
:
function
(
status
)
{
this
.
editor
.
cellNameDisabled
(
status
!=
Asc
.
c_oAscSelectionDialogType
.
None
);
this
.
editor
.
$btnfunc
.
toggleClass
(
'
disabled
'
,
status
!=
Asc
.
c_oAscSelectionDialogType
.
None
);
},
onLayoutResize
:
function
(
o
,
r
)
{
...
...
apps/spreadsheeteditor/main/app/view/CellEditor.js
View file @
93cf75ce
...
...
@@ -102,7 +102,6 @@ define([
cellNameDisabled
:
function
(
disabled
){
(
disabled
)
?
this
.
$cellname
.
attr
(
'
disabled
'
,
'
disabled
'
)
:
this
.
$cellname
.
removeAttr
(
'
disabled
'
);
this
.
$btnfunc
.
toggleClass
(
'
disabled
'
,
disabled
);
this
.
btnNamedRanges
.
setDisabled
(
disabled
);
},
...
...
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