Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Shubin <aleksandrs.subins@zabbix.com>2021-03-01 18:13:07 +0300
committerAlexander Shubin <aleksandrs.subins@zabbix.com>2021-03-01 18:13:07 +0300
commit4cbf34e7d318944ad376004cabf1487f4cfd8abd (patch)
tree7bb0818c685b3ea6bdb92d59d60503d66472f02e
parentcfb5334d1fc1bf4eff50228fd9bb0ac3ad65b802 (diff)
..F....... [ZBXNEXT-6309] fixed placeholder after widget paste
-rw-r--r--ui/js/class.dashboard.page.js1
-rw-r--r--ui/js/menupopup.js1
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();
}
}]
}];