Reinitialize notebookbar after Zotero init
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com> Change-Id: I697c87bbd995800bdd69358f139fa8537fb70077
This commit is contained in:
parent
45184adba9
commit
aeac944e4b
1 changed files with 1 additions and 1 deletions
|
@ -318,6 +318,7 @@ L.Control.UIManager = L.Control.extend({
|
|||
$('.main-nav').removeClass('readonly');
|
||||
$('#map').addClass('notebookbar-opened');
|
||||
this.insertCustomButtons();
|
||||
this.map.sendInitUNOCommands();
|
||||
},
|
||||
|
||||
refreshMenubar: function() {
|
||||
|
@ -326,7 +327,6 @@ L.Control.UIManager = L.Control.extend({
|
|||
|
||||
addNotebookbarUI: function() {
|
||||
this.refreshNotebookbar();
|
||||
this.map.sendInitUNOCommands();
|
||||
this.map._docLayer._resetClientVisArea();
|
||||
this.map._docLayer._requestNewTiles();
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue