Merge pull request #36 from ONLYOFFICE/feature/v5.0.6-pdf
[DE] Fixed opening pdf files.
This commit is contained in:
commit
62e722ca60
|
@ -86,25 +86,27 @@ define([
|
||||||
me.btnZoomDown.updateHint(me.tipZoomOut + Common.Utils.String.platformKey('Ctrl+-'));
|
me.btnZoomDown.updateHint(me.tipZoomOut + Common.Utils.String.platformKey('Ctrl+-'));
|
||||||
me.btnZoomUp.updateHint(me.tipZoomIn + Common.Utils.String.platformKey('Ctrl++'));
|
me.btnZoomUp.updateHint(me.tipZoomIn + Common.Utils.String.platformKey('Ctrl++'));
|
||||||
|
|
||||||
me.btnLanguage.updateHint(me.tipSetLang);
|
if (me.btnLanguage && me.btnLanguage.cmpEl) {
|
||||||
me.btnLanguage.cmpEl.on({
|
me.btnLanguage.updateHint(me.tipSetLang);
|
||||||
'show.bs.dropdown': function () {
|
me.btnLanguage.cmpEl.on({
|
||||||
_.defer(function () {
|
'show.bs.dropdown': function () {
|
||||||
me.btnLanguage.cmpEl.find('ul').focus();
|
_.defer(function () {
|
||||||
}, 100);
|
me.btnLanguage.cmpEl.find('ul').focus();
|
||||||
},
|
}, 100);
|
||||||
'hide.bs.dropdown': function () {
|
},
|
||||||
_.defer(function () {
|
'hide.bs.dropdown': function () {
|
||||||
me.api.asc_enableKeyEvents(true);
|
_.defer(function () {
|
||||||
}, 100);
|
me.api.asc_enableKeyEvents(true);
|
||||||
},
|
}, 100);
|
||||||
'click': function (e) {
|
},
|
||||||
if (me.btnLanguage.isDisabled()) {
|
'click': function (e) {
|
||||||
return false;
|
if (me.btnLanguage.isDisabled()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
});
|
||||||
});
|
me.langMenu.on('item:click', _.bind(_clickLanguage, this));
|
||||||
me.langMenu.on('item:click', _.bind(_clickLanguage, this));
|
}
|
||||||
|
|
||||||
me.cntZoom.updateHint(me.tipZoomFactor);
|
me.cntZoom.updateHint(me.tipZoomFactor);
|
||||||
me.cntZoom.cmpEl.on({
|
me.cntZoom.cmpEl.on({
|
||||||
|
|
Loading…
Reference in a new issue