New plugin API - fixed module.js
This commit is contained in:
@@ -5,17 +5,14 @@ define([
|
|||||||
function (ZabbixAPIDatasource, ZabbixQueryCtrl) {
|
function (ZabbixAPIDatasource, ZabbixQueryCtrl) {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
function ZabbixQueryOptionsCtrl() {
|
function ZabbixQueryOptionsCtrl() {}
|
||||||
return {templateUrl: 'public/plugins/zabbix/partials/query.options.html'};
|
ZabbixQueryOptionsCtrl.templateUrl = 'partials/query.options.html';
|
||||||
}
|
|
||||||
|
|
||||||
function ZabbixAnnotationsQueryCtrl() {
|
function ZabbixAnnotationsQueryCtrl() {}
|
||||||
return {templateUrl: 'public/plugins/zabbix/partials/annotations.editor.html'};
|
ZabbixAnnotationsQueryCtrl.templateUrl = 'partials/annotations.editor.html';
|
||||||
}
|
|
||||||
|
|
||||||
function ZabbixConfigCtrl() {
|
function ZabbixConfigCtrl() {}
|
||||||
return {templateUrl: 'public/plugins/zabbix/partials/config.html'};
|
ZabbixConfigCtrl.templateUrl = 'partials/config.html';
|
||||||
}
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
Datasource: ZabbixAPIDatasource,
|
Datasource: ZabbixAPIDatasource,
|
||||||
|
|||||||
Reference in New Issue
Block a user