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
7dc8c753
Commit
7dc8c753
authored
Aug 30, 2016
by
Julia Radzhabova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PE] Fix Bug 32042.
parent
b3e6c313
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
apps/presentationeditor/main/app/view/DocumentHolder.js
apps/presentationeditor/main/app/view/DocumentHolder.js
+11
-4
No files found.
apps/presentationeditor/main/app/view/DocumentHolder.js
View file @
7dc8c753
...
...
@@ -188,12 +188,19 @@ define([
var
onFocusObject
=
function
(
selectedElements
)
{
if
(
me
.
mode
.
isEdit
&&
me
.
currentMenu
&&
me
.
currentMenu
.
isVisible
()){
var
obj
=
fillMenuProps
(
selectedElements
);
if
(
obj
)
{
if
(
obj
.
menu_to_show
===
me
.
currentMenu
)
{
me
.
currentMenu
.
options
.
initMenu
(
obj
.
menu_props
);
if
(
me
.
api
.
asc_getCurrentFocusObject
()
===
0
){
// thumbnails
if
(
me
.
slideMenu
===
me
.
currentMenu
)
{
me
.
currentMenu
.
options
.
initMenu
({
isSlideSelect
:
me
.
slideMenu
.
items
[
2
].
isVisible
(),
fromThumbs
:
true
});
me
.
currentMenu
.
alignPosition
();
}
}
else
{
var
obj
=
fillMenuProps
(
selectedElements
);
if
(
obj
)
{
if
(
obj
.
menu_to_show
===
me
.
currentMenu
)
{
me
.
currentMenu
.
options
.
initMenu
(
obj
.
menu_props
);
me
.
currentMenu
.
alignPosition
();
}
}
}
}
};
...
...
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