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
a4f7766b
Commit
a4f7766b
authored
Apr 26, 2016
by
Julia Radzhabova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SSE] Bug 32310
parent
17d142da
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
apps/spreadsheeteditor/main/app/controller/RightMenu.js
apps/spreadsheeteditor/main/app/controller/RightMenu.js
+4
-4
apps/spreadsheeteditor/main/app/view/TableSettings.js
apps/spreadsheeteditor/main/app/view/TableSettings.js
+2
-2
No files found.
apps/spreadsheeteditor/main/app/controller/RightMenu.js
View file @
a4f7766b
...
...
@@ -109,10 +109,9 @@ define([
this
.
_openRightMenu
=
true
;
}
this
.
onFocusObject
(
SelectedObjects
,
formatTableInfo
);
var
need_disable
=
info
.
asc_getLocked
(
);
var
need_disable
=
info
.
asc_getLocked
(),
me
=
this
;
this
.
onFocusObject
(
SelectedObjects
,
formatTableInfo
,
need_disable
);
if
(
this
.
_state
.
prevDisabled
!=
need_disable
)
{
this
.
_state
.
prevDisabled
=
need_disable
;
...
...
@@ -122,7 +121,7 @@ define([
}
},
onFocusObject
:
function
(
SelectedObjects
,
formatTableInfo
)
{
onFocusObject
:
function
(
SelectedObjects
,
formatTableInfo
,
isCellLocked
)
{
if
(
!
this
.
editMode
)
return
;
...
...
@@ -163,6 +162,7 @@ define([
if
(
formatTableInfo
)
{
settingsType
=
Common
.
Utils
.
documentSettingsType
.
Table
;
this
.
_settings
[
settingsType
].
props
=
formatTableInfo
;
this
.
_settings
[
settingsType
].
locked
=
isCellLocked
;
this
.
_settings
[
settingsType
].
hidden
=
0
;
}
...
...
apps/spreadsheeteditor/main/app/view/TableSettings.js
View file @
a4f7766b
...
...
@@ -328,8 +328,8 @@ define([
this
.
chFilter
.
setValue
(
value
,
true
);
this
.
_state
.
CheckFilter
=
value
;
}
if
(
this
.
chFilter
.
isDisabled
()
==
this
.
_state
.
CheckHeader
)
this
.
chFilter
.
setDisabled
(
!
this
.
_state
.
CheckHeader
);
if
(
this
.
chFilter
.
isDisabled
()
!==
(
!
this
.
_state
.
CheckHeader
||
this
.
_locked
)
)
this
.
chFilter
.
setDisabled
(
!
this
.
_state
.
CheckHeader
||
this
.
_locked
);
if
(
needTablePictures
)
this
.
onApiInitTableTemplates
(
this
.
api
.
asc_getTablePictures
(
props
));
...
...
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