From 6f93027446e9ecfcf47ab076fc409e49b16ba434 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Mon, 16 Dec 2024 16:04:37 +0300 Subject: [PATCH] Fix resizing of the plugin window --- apps/common/main/lib/view/PluginDlg.js | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/common/main/lib/view/PluginDlg.js b/apps/common/main/lib/view/PluginDlg.js index f7c24c4a72..9687635fcd 100644 --- a/apps/common/main/lib/view/PluginDlg.js +++ b/apps/common/main/lib/view/PluginDlg.js @@ -88,6 +88,7 @@ define([], function () { this._headerFooterHeight += ((parseInt(this.$window.css('border-top-width')) + parseInt(this.$window.css('border-bottom-width')))); if (Common.Utils.innerHeight()-this.bordersOffset*2 < this.options.contentHeight + this._headerFooterHeight) { + this._restoreHeight = this.options.contentHeight + this._headerFooterHeight; this.options.contentHeight = Common.Utils.innerHeight()-this.bordersOffset*2 - this._headerFooterHeight; this.boxEl.css('height', this.options.contentHeight); }