diff options
author | Alexander Shubin <aleksandrs.subins@zabbix.com> | 2021-03-01 18:13:07 +0300 |
---|---|---|
committer | Alexander Shubin <aleksandrs.subins@zabbix.com> | 2021-03-01 18:13:07 +0300 |
commit | 4cbf34e7d318944ad376004cabf1487f4cfd8abd (patch) | |
tree | 7bb0818c685b3ea6bdb92d59d60503d66472f02e | |
parent | cfb5334d1fc1bf4eff50228fd9bb0ac3ad65b802 (diff) |
..F....... [ZBXNEXT-6309] fixed placeholder after widget paste
-rw-r--r-- | ui/js/class.dashboard.page.js | 1 | ||||
-rw-r--r-- | ui/js/menupopup.js | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/ui/js/class.dashboard.page.js b/ui/js/class.dashboard.page.js index 416eefde85a..d03a67f8f97 100644 --- a/ui/js/class.dashboard.page.js +++ b/ui/js/class.dashboard.page.js @@ -499,6 +499,7 @@ class CDashboardPage { const dashboard_busy_item = {}; + this._data.new_widget_placeholder.hide(); this._setDashboardBusy('pasteWidget', dashboard_busy_item); // Remove old widget. diff --git a/ui/js/menupopup.js b/ui/js/menupopup.js index b5d8ebcb204..a279d8d95fb 100644 --- a/ui/js/menupopup.js +++ b/ui/js/menupopup.js @@ -1206,7 +1206,6 @@ function getDashboardWidgetActionMenu(area_selected) { }; ZABBIX.Dashboard.pasteWidget(null, widget_dims); - jQuery(`.${ZBX_STYLE_DASHBOARD_WIDGET_PLACEHOLDER}`).hide(); } }] }]; |