mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-04-07 14:06:16 +08:00
[DE PDFE PE SSE VE] Fix shortcuts for view mode
This commit is contained in:
@ -951,12 +951,13 @@ define([
|
||||
|
||||
documentHolderController.getView().on('editcomplete', _.bind(me.onEditComplete, me));
|
||||
|
||||
// VE.getController('Common.Controllers.Shortcuts').setApi(me.api);
|
||||
|
||||
if (me.appOptions.isEdit) {
|
||||
if (me.needToUpdateVersion)
|
||||
Common.NotificationCenter.trigger('api:disconnect');
|
||||
|
||||
var timer_sl = setTimeout(function(){
|
||||
PDFE.getController('Common.Controllers.Shortcuts').setApi(me.api);
|
||||
|
||||
toolbarController.createDelayedElements();
|
||||
toolbarController.activateControls();
|
||||
|
||||
Reference in New Issue
Block a user