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
5c801c68
Commit
5c801c68
authored
Nov 21, 2016
by
Maxim Kadushkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PE embed] fix bug 33444, 33433
parent
493ec487
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
10 deletions
+7
-10
apps/presentationeditor/embed/js/ApplicationController.js
apps/presentationeditor/embed/js/ApplicationController.js
+7
-10
No files found.
apps/presentationeditor/embed/js/ApplicationController.js
View file @
5c801c68
...
...
@@ -409,18 +409,15 @@ var ApplicationController = new(function(){
var
isplaymode
;
function
onPlayStart
(
e
)
{
if
(
!
isplaymode
)
{
if
(
isplaymode
===
undefined
)
{
$
(
'
#box-preview
'
).
show
();
api
.
StartDemonstration
(
'
id-preview
'
,
currentPage
);
}
else
api
.
DemonstrationPlay
();
$
(
'
#btn-play button
'
).
addClass
(
'
pause
'
);
$
(
'
#box-preview
'
).
show
();
api
.
StartDemonstration
(
'
id-preview
'
,
currentPage
);
}
else
{
$
(
'
#btn-play button
'
).
removeClass
(
'
pause
'
);
api
.
DemonstrationPause
();
isplaymode
==
'
play
'
?
api
.
DemonstrationPause
()
:
api
.
DemonstrationPlay
();
}
isplaymode
=
!
isplaymode
;
isplaymode
!=
'
play
'
?
(
$
(
'
#btn-play button
'
).
addClass
(
'
pause
'
),
isplaymode
=
'
play
'
)
:
(
$
(
'
#btn-play button
'
).
removeClass
(
'
pause
'
),
isplaymode
=
'
pause
'
);
}
function
onPlayStop
()
{
...
...
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