From 308fef223e58f4da8c1a914a8774c84fccb0d097 Mon Sep 17 00:00:00 2001 From: Alexander Zobnin Date: Thu, 28 Jan 2016 21:44:40 +0300 Subject: [PATCH] Fixed panel update when new function added. --- plugins/datasource-zabbix/queryCtrl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/datasource-zabbix/queryCtrl.js b/plugins/datasource-zabbix/queryCtrl.js index 3c19720..faa02a1 100644 --- a/plugins/datasource-zabbix/queryCtrl.js +++ b/plugins/datasource-zabbix/queryCtrl.js @@ -280,7 +280,7 @@ define([ $scope.moveAliasFuncLast(); - if (!newFunc.params.length && newFunc.added) { + if (newFunc.params.length && newFunc.added) { $scope.targetChanged(); } };