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
ee13c7a3
Commit
ee13c7a3
authored
Oct 13, 2016
by
Julia Radzhabova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[DE] Fix Bug 33038.
parent
f59b72e9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
apps/documenteditor/main/app/controller/Main.js
apps/documenteditor/main/app/controller/Main.js
+5
-1
apps/documenteditor/main/app/controller/Toolbar.js
apps/documenteditor/main/app/controller/Toolbar.js
+1
-1
No files found.
apps/documenteditor/main/app/controller/Main.js
View file @
ee13c7a3
...
...
@@ -520,7 +520,11 @@ define([
toolbarView
.
btnInsertShape
.
toggle
(
false
,
false
);
toolbarView
.
btnInsertText
.
toggle
(
false
,
false
);
}
if
(
this
.
appOptions
.
isEdit
&&
toolbarView
&&
toolbarView
.
btnHighlightColor
.
pressed
&&
(
!
_
.
isObject
(
arguments
[
1
])
||
arguments
[
1
].
id
!==
'
id-toolbar-btn-highlight
'
))
{
this
.
api
.
SetMarkerFormat
(
false
);
toolbarView
.
btnHighlightColor
.
toggle
(
false
,
false
);
}
application
.
getController
(
'
DocumentHolder
'
).
getView
(
'
DocumentHolder
'
).
focus
();
if
(
this
.
api
)
{
...
...
apps/documenteditor/main/app/controller/Toolbar.js
View file @
ee13c7a3
...
...
@@ -2554,7 +2554,7 @@ define([
me
.
api
.
SetMarkerFormat
(
true
,
true
,
parseInt
(
r
,
16
),
parseInt
(
g
,
16
),
parseInt
(
b
,
16
));
}
Common
.
NotificationCenter
.
trigger
(
'
edit:complete
'
,
me
.
toolbar
);
Common
.
NotificationCenter
.
trigger
(
'
edit:complete
'
,
me
.
toolbar
,
me
.
toolbar
.
btnHighlightColor
);
Common
.
component
.
Analytics
.
trackEvent
(
'
ToolBar
'
,
'
Highlight Color
'
);
},
...
...
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