diff --git a/plugins/datasource-zabbix/module.js b/plugins/datasource-zabbix/module.js index 846f37e..38722d9 100644 --- a/plugins/datasource-zabbix/module.js +++ b/plugins/datasource-zabbix/module.js @@ -5,17 +5,14 @@ define([ function (ZabbixAPIDatasource, ZabbixQueryCtrl) { 'use strict'; - function ZabbixQueryOptionsCtrl() { - return {templateUrl: 'public/plugins/zabbix/partials/query.options.html'}; - } + function ZabbixQueryOptionsCtrl() {} + ZabbixQueryOptionsCtrl.templateUrl = 'partials/query.options.html'; - function ZabbixAnnotationsQueryCtrl() { - return {templateUrl: 'public/plugins/zabbix/partials/annotations.editor.html'}; - } + function ZabbixAnnotationsQueryCtrl() {} + ZabbixAnnotationsQueryCtrl.templateUrl = 'partials/annotations.editor.html'; - function ZabbixConfigCtrl() { - return {templateUrl: 'public/plugins/zabbix/partials/config.html'}; - } + function ZabbixConfigCtrl() {} + ZabbixConfigCtrl.templateUrl = 'partials/config.html'; return { Datasource: ZabbixAPIDatasource,