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
path: root/ui
diff options
context:
space:
mode:
authorAlexander Shubin <aleksandrs.subins@zabbix.com>2021-03-03 18:43:01 +0300
committerAlexander Shubin <aleksandrs.subins@zabbix.com>2021-03-03 18:43:01 +0300
commitbc6d32dedff381afb9ab2738e3ebff241e227962 (patch)
treeec41c6fc0c66f88157eda0c45151fe30f48013d2 /ui
parente76167f9b646640b008f3ebb7218e68d459a9efa (diff)
..F....... [ZBXNEXT-6309] fixed graph download
Diffstat (limited to 'ui')
-rw-r--r--ui/js/menupopup.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/js/menupopup.js b/ui/js/menupopup.js
index a279d8d95fb..8f3e19bd543 100644
--- a/ui/js/menupopup.js
+++ b/ui/js/menupopup.js
@@ -589,7 +589,7 @@ function getMenuPopupWidgetActions(options, trigger_elmnt) {
editMode = ZABBIX.Dashboard.isEditMode(),
widget = ZABBIX.Dashboard.getWidgetsBy('uniqueid', options.widget_uniqueid).pop(),
widgetid = widget.widgetid,
- loading = (!widget['ready'] || widget['content_body'].find('.is-loading').length > 0),
+ loading = (!widget.isReady() || widget.content_body.find('.is-loading').length > 0),
widget_actions = [],
menu;
@@ -645,7 +645,7 @@ function getMenuPopupWidgetActions(options, trigger_elmnt) {
},
refreshCallback: function(widget) {
if (widget['widgetid'] == widgetid && options.download) {
- this.disabled = !widget['ready'];
+ this.disabled = !widget.isReady();
}
}
});