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
7a2e1734
Commit
7a2e1734
authored
Aug 03, 2016
by
Julia Radzhabova
2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set full toolbar in light version.
parent
abfe324c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
6 deletions
+3
-6
apps/documenteditor/main/app/view/Toolbar.js
apps/documenteditor/main/app/view/Toolbar.js
+1
-2
apps/presentationeditor/main/app/view/Toolbar.js
apps/presentationeditor/main/app/view/Toolbar.js
+1
-2
apps/spreadsheeteditor/main/app/view/Toolbar.js
apps/spreadsheeteditor/main/app/view/Toolbar.js
+1
-2
No files found.
apps/documenteditor/main/app/view/Toolbar.js
View file @
7a2e1734
...
...
@@ -1247,7 +1247,7 @@ define([
this
.
trigger
(
'
render:before
'
,
this
);
var
value
=
Common
.
localStorage
.
getItem
(
"
de-compact-toolbar
"
);
var
valueCompact
=
(
mode
.
isLightVersion
||
value
!==
null
&&
parseInt
(
value
)
==
1
);
var
valueCompact
=
(
value
!==
null
&&
parseInt
(
value
)
==
1
);
value
=
Common
.
localStorage
.
getItem
(
"
de-hidden-title
"
);
var
valueTitle
=
(
value
!==
null
&&
parseInt
(
value
)
==
1
);
...
...
@@ -1258,7 +1258,6 @@ define([
value
=
Common
.
localStorage
.
getItem
(
"
de-hidden-rulers
"
);
var
valueRulers
=
(
value
!==
null
&&
parseInt
(
value
)
==
1
);
this
.
mnuitemCompactToolbar
.
setVisible
(
!
mode
.
isLightVersion
);
this
.
mnuitemCompactToolbar
.
setChecked
(
valueCompact
,
true
);
this
.
mnuitemHideTitleBar
.
setChecked
(
valueTitle
,
true
);
this
.
mnuitemHideStatusBar
.
setChecked
(
valueStatus
,
true
);
...
...
apps/presentationeditor/main/app/view/Toolbar.js
View file @
7a2e1734
...
...
@@ -1158,7 +1158,7 @@ define([
this
.
trigger
(
'
render:before
'
,
this
);
var
value
=
Common
.
localStorage
.
getItem
(
'
pe-compact-toolbar
'
);
var
valueCompact
=
(
mode
.
isLightVersion
||
value
!==
null
&&
parseInt
(
value
)
==
1
);
var
valueCompact
=
(
value
!==
null
&&
parseInt
(
value
)
==
1
);
value
=
Common
.
localStorage
.
getItem
(
'
pe-hidden-title
'
);
var
valueTitle
=
(
value
!==
null
&&
parseInt
(
value
)
==
1
);
...
...
@@ -1169,7 +1169,6 @@ define([
value
=
Common
.
localStorage
.
getItem
(
"
pe-hidden-rulers
"
);
var
valueRulers
=
(
value
!==
null
&&
parseInt
(
value
)
==
1
);
me
.
mnuitemCompactToolbar
.
setVisible
(
!
mode
.
isLightVersion
);
me
.
mnuitemCompactToolbar
.
setChecked
(
valueCompact
);
me
.
mnuitemHideTitleBar
.
setChecked
(
valueTitle
);
me
.
mnuitemHideStatusBar
.
setChecked
(
valueStatus
);
...
...
apps/spreadsheeteditor/main/app/view/Toolbar.js
View file @
7a2e1734
...
...
@@ -1579,9 +1579,8 @@ define([
JSON
.
parse
(
Common
.
localStorage
.
getItem
(
'
sse-hidden-title
'
))
&&
(
options
.
title
=
true
);
JSON
.
parse
(
Common
.
localStorage
.
getItem
(
'
sse-hidden-formula
'
))
&&
(
options
.
formula
=
true
);
JSON
.
parse
(
Common
.
localStorage
.
getItem
(
'
sse-hidden-headings
'
))
&&
(
options
.
headings
=
true
);
var
isCompactView
=
mode
.
isLightVersion
||
!!
JSON
.
parse
(
Common
.
localStorage
.
getItem
(
'
sse-toolbar-compact
'
));
var
isCompactView
=
!!
JSON
.
parse
(
Common
.
localStorage
.
getItem
(
'
sse-toolbar-compact
'
));
me
.
mnuitemCompactToolbar
.
setVisible
(
!
mode
.
isLightVersion
);
me
.
mnuitemCompactToolbar
.
setChecked
(
isCompactView
);
me
.
mnuitemHideTitleBar
.
setChecked
(
!!
options
.
title
);
me
.
mnuitemHideFormulaBar
.
setChecked
(
!!
options
.
formula
);
...
...
Boris Kocherov
@bk
mentioned in commit
57a9fef4
·
May 29, 2017
mentioned in commit
57a9fef4
mentioned in commit 57a9fef453fb26259d8adde80ca292c6a9234bfd
Toggle commit list
Boris Kocherov
@bk
mentioned in commit
57a9fef4
·
May 29, 2017
mentioned in commit
57a9fef4
mentioned in commit 57a9fef453fb26259d8adde80ca292c6a9234bfd
Toggle commit list
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