query-editor: refresh panel when editor mode changed

This commit is contained in:
Alexander Zobnin
2017-07-25 17:30:36 +03:00
parent 859556c08e
commit 6b4ace6b54
4 changed files with 4 additions and 1 deletions

View File

@@ -358,6 +358,7 @@ var ZabbixQueryController = exports.ZabbixQueryController = function (_QueryCtrl
value: function switchEditorMode(mode) {
this.target.mode = mode;
this.init();
this.targetChanged();
}
}]);