mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-02-10 18:05:32 +08:00
Fix closing image menu
This commit is contained in:
@ -1249,6 +1249,7 @@ define([
|
||||
|
||||
onHideContentControlsActions: function() {
|
||||
this.listControlMenu && this.listControlMenu.isVisible() && this.listControlMenu.hide();
|
||||
this.imageControlMenu && this.imageControlMenu.isVisible() && this.imageControlMenu.hide();
|
||||
var controlsContainer = this.boxSdk.find('#calendar-control-container');
|
||||
if (controlsContainer.is(':visible'))
|
||||
controlsContainer.hide();
|
||||
|
||||
@ -1027,6 +1027,7 @@ define([], function () {
|
||||
|
||||
dh.onHideContentControlsActions = function() {
|
||||
this.listControlMenu && this.listControlMenu.isVisible() && this.listControlMenu.hide();
|
||||
this.imageControlMenu && this.imageControlMenu.isVisible() && this.imageControlMenu.hide();
|
||||
var controlsContainer = this.documentHolder.cmpEl.find('#calendar-control-container');
|
||||
if (controlsContainer.is(':visible'))
|
||||
controlsContainer.hide();
|
||||
|
||||
Reference in New Issue
Block a user