Commit 3d549e1b authored by Julia Radzhabova's avatar Julia Radzhabova

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

parent 2b10bc34
......@@ -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() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment