[PE] Bug 35623.
This commit is contained in:
parent
d01d4e9302
commit
7b128bc62c
|
@ -315,6 +315,7 @@ define([
|
||||||
this.api.asc_registerCallback('asc_onCountPages', _.bind(this.onCountSlides, this));
|
this.api.asc_registerCallback('asc_onCountPages', _.bind(this.onCountSlides, this));
|
||||||
this.api.asc_registerCallback('asc_onEndDemonstration', _.bind(this.onEndDemonstration, this));
|
this.api.asc_registerCallback('asc_onEndDemonstration', _.bind(this.onEndDemonstration, this));
|
||||||
this.api.asc_registerCallback('asc_onDemonstrationSlideChanged', _.bind(this.onDemonstrationSlideChanged, this));
|
this.api.asc_registerCallback('asc_onDemonstrationSlideChanged', _.bind(this.onDemonstrationSlideChanged, this));
|
||||||
|
this.api.asc_registerCallback('asc_onDemonstrationStatus', _.bind(this.onDemonstrationStatus, this));
|
||||||
this.api.DemonstrationEndShowMessage(this.txtFinalMessage);
|
this.api.DemonstrationEndShowMessage(this.txtFinalMessage);
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
|
@ -352,6 +353,12 @@ define([
|
||||||
this.fullScreenCancel();
|
this.fullScreenCancel();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
onDemonstrationStatus: function(status) {
|
||||||
|
var iconEl = $('.icon', this.btnPlay.cmpEl);
|
||||||
|
iconEl.toggleClass('btn-pause', status=="play");
|
||||||
|
this.btnPlay.updateHint((status=="play") ? this.txtPause : this.txtPlay);
|
||||||
|
},
|
||||||
|
|
||||||
toggleFullScreen: function() {
|
toggleFullScreen: function() {
|
||||||
if (!document.fullscreenElement && !document.msFullscreenElement &&
|
if (!document.fullscreenElement && !document.msFullscreenElement &&
|
||||||
!document.mozFullScreenElement && !document.webkitFullscreenElement) {
|
!document.mozFullScreenElement && !document.webkitFullscreenElement) {
|
||||||
|
|
Loading…
Reference in a new issue