From bfc05c75ce7fc963d2076599a34dfbe3a622f670 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Tue, 11 Apr 2023 17:51:58 +0300 Subject: [PATCH] Fix plugins window --- apps/common/main/lib/view/PluginDlg.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/common/main/lib/view/PluginDlg.js b/apps/common/main/lib/view/PluginDlg.js index 708d6782d9..052264dfe0 100644 --- a/apps/common/main/lib/view/PluginDlg.js +++ b/apps/common/main/lib/view/PluginDlg.js @@ -105,10 +105,11 @@ define([ iframe.onload = _.bind(this._onLoad,this); var me = this; + var pholder = this.$window.find('#id-plugin-placeholder'); if (this.loader) { setTimeout(function(){ if (me.isLoaded) return; - me.loadMask = new Common.UI.LoadMask({owner: $('#id-plugin-placeholder')}); + me.loadMask = new Common.UI.LoadMask({owner: pholder}); me.loadMask.setTitle(me.textLoading); me.loadMask.show(); if (me.isLoaded) me.loadMask.hide(); @@ -116,7 +117,7 @@ define([ } iframe.src = this.url; - $('#id-plugin-placeholder').append(iframe); + pholder.append(iframe); this.on('resizing', function(args){ me.boxEl.css('height', parseInt(me.$window.css('height')) - me._headerFooterHeight);