diff --git a/public/app/directives/all.js b/public/app/directives/all.js index 21ca137b92b..0a9ac603c57 100644 --- a/public/app/directives/all.js +++ b/public/app/directives/all.js @@ -11,7 +11,7 @@ define([ './spectrumPicker', './tags', './bodyClass', - './variableValueSelect', + './selectDropDown', './metric.segment', './grafanaVersionCheck', './dropdown.typeahead', diff --git a/public/app/directives/variableValueSelect.js b/public/app/directives/selectDropDown.js similarity index 98% rename from public/app/directives/variableValueSelect.js rename to public/app/directives/selectDropDown.js index ae08ad55ee4..312b6cdd7d1 100644 --- a/public/app/directives/variableValueSelect.js +++ b/public/app/directives/selectDropDown.js @@ -225,11 +225,11 @@ function (angular, app, _) { angular .module('grafana.directives') - .directive('variableValueSelect', function($compile, $window, $timeout) { + .directive('selectDropdown', function($compile, $window, $timeout) { return { scope: { variable: "=", onUpdated: "&", getValuesForTag: "&" }, - templateUrl: 'app/features/dashboard/partials/variableValueSelect.html', + templateUrl: 'app/partials/selectDropdown.html', controller: 'SelectDropdownCtrl', controllerAs: 'vm', bindToController: true, diff --git a/public/app/features/dashboard/partials/variableValueSelect.html b/public/app/partials/selectDropdown.html similarity index 100% rename from public/app/features/dashboard/partials/variableValueSelect.html rename to public/app/partials/selectDropdown.html diff --git a/public/app/partials/submenu.html b/public/app/partials/submenu.html index 5f5d29e87ba..0246d4a7673 100644 --- a/public/app/partials/submenu.html +++ b/public/app/partials/submenu.html @@ -6,7 +6,7 @@ {{variable.label || variable.name}}: - +