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
d64d58da
Commit
d64d58da
authored
Sep 01, 2016
by
Julia Radzhabova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[DE] Repeat Commit:
7a2e1734
[
7a2e1734
]
Set full toolbar in light version.
parent
362d8b6c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
apps/documenteditor/main/app/view/Toolbar.js
apps/documenteditor/main/app/view/Toolbar.js
+2
-3
No files found.
apps/documenteditor/main/app/view/Toolbar.js
View file @
d64d58da
...
...
@@ -975,7 +975,7 @@ define([
this
.
btnPageMargins
.
menu
.
items
[
0
].
setVisible
(
false
);
var
value
=
Common
.
localStorage
.
getItem
(
"
de-compact-toolbar
"
);
var
valueCompact
=
(
mode
.
isLightVersion
||
value
!==
null
&&
parseInt
(
value
)
==
1
);
var
valueCompact
=
(
value
!==
null
&&
parseInt
(
value
)
==
1
);
me
.
$el
.
html
(
this
.
template
({
isCompactView
:
valueCompact
...
...
@@ -1397,7 +1397,7 @@ define([
/**/
var
mode
=
this
.
mode
;
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
);
...
...
@@ -1408,7 +1408,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
.
mnuitemCompactToolbar
.
on
(
'
toggle
'
,
_
.
bind
(
this
.
changeViewMode
,
this
));
...
...
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