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
09ce1fb2
Commit
09ce1fb2
authored
Nov 24, 2016
by
Julia Radzhabova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SSE] Fix Bug 33509.
parent
4939665d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
11 deletions
+5
-11
apps/spreadsheeteditor/main/app/controller/RightMenu.js
apps/spreadsheeteditor/main/app/controller/RightMenu.js
+5
-11
No files found.
apps/spreadsheeteditor/main/app/controller/RightMenu.js
View file @
09ce1fb2
...
...
@@ -122,19 +122,13 @@ define([
}
var
need_disable
=
info
.
asc_getLocked
(),
need_disable_table
=
(
info
.
asc_getLockedTable
()
===
true
);
need_disable_table
=
(
info
.
asc_getLockedTable
()
===
true
),
need_disable_spark
=
(
info
.
asc_getLockedSparkline
()
===
true
);
this
.
onFocusObject
(
SelectedObjects
,
formatTableInfo
,
sparkLineInfo
,
need_disable
,
need_disable_table
);
if
(
this
.
_state
.
prevDisabled
!=
need_disable
)
{
this
.
_state
.
prevDisabled
=
need_disable
;
this
.
_settings
.
forEach
(
function
(
item
){
item
.
panel
.
setLocked
(
need_disable
);
});
}
this
.
onFocusObject
(
SelectedObjects
,
formatTableInfo
,
sparkLineInfo
,
need_disable
,
need_disable_table
,
need_disable_spark
);
},
onFocusObject
:
function
(
SelectedObjects
,
formatTableInfo
,
sparkLineInfo
,
isCellLocked
,
isTableLocked
)
{
onFocusObject
:
function
(
SelectedObjects
,
formatTableInfo
,
sparkLineInfo
,
isCellLocked
,
isTableLocked
,
isSparkLocked
)
{
if
(
!
this
.
editMode
)
return
;
...
...
@@ -181,7 +175,7 @@ define([
if
(
sparkLineInfo
)
{
settingsType
=
Common
.
Utils
.
documentSettingsType
.
Chart
;
this
.
_settings
[
settingsType
].
props
=
sparkLineInfo
;
this
.
_settings
[
settingsType
].
locked
=
is
Cell
Locked
;
this
.
_settings
[
settingsType
].
locked
=
is
Spark
Locked
;
this
.
_settings
[
settingsType
].
hidden
=
0
;
}
...
...
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