[DE] Set focus to document after Prev/Next footnotes buttons are pressed.

This commit is contained in:
Julia Radzhabova 2017-01-17 21:42:00 +03:00
parent 2b10bc3411
commit 3d549e1bdf

View file

@ -2044,14 +2044,20 @@ define([
if (this.api)
this.api.asc_GotoFootnote(false);
Common.NotificationCenter.trigger('edit:complete', this.toolbar);
var me = this;
setTimeout(function() {
Common.NotificationCenter.trigger('edit:complete', me.toolbar);
}, 50);
},
onFootnoteNextClick: function(btn) {
if (this.api)
this.api.asc_GotoFootnote(true);
Common.NotificationCenter.trigger('edit:complete', this.toolbar);
var me = this;
setTimeout(function() {
Common.NotificationCenter.trigger('edit:complete', me.toolbar);
}, 50);
},
_clearBullets: function() {