Commit 387ec89b by Torkel Ödegaard

more angular 1.3 upgrade changes

parent 60dd6849
...@@ -95,7 +95,7 @@ function (angular, _, config, $) { ...@@ -95,7 +95,7 @@ function (angular, _, config, $) {
$scope.openSearch = function (evt) { $scope.openSearch = function (evt) {
if (evt) { if (evt) {
$element.find('.dropdown-toggle').dropdown('toggle'); $element.next().find('.dropdown-toggle').dropdown('toggle');
} }
$scope.giveSearchFocus = $scope.giveSearchFocus + 1; $scope.giveSearchFocus = $scope.giveSearchFocus + 1;
......
...@@ -56,7 +56,6 @@ ...@@ -56,7 +56,6 @@
</li> </li>
<li class="dropdown grafana-menu-load" ng-controller="SearchCtrl" ng-init="init()" ng-include="'app/partials/search.html'"> <li class="dropdown grafana-menu-load" ng-controller="SearchCtrl" ng-init="init()" ng-include="'app/partials/search.html'">
</li> </li>
<li class="grafana-menu-home"><a bs-tooltip="'Goto saved default'" data-placement="bottom" href='#/'><i class='icon-home'></i></a></li> <li class="grafana-menu-home"><a bs-tooltip="'Goto saved default'" data-placement="bottom" href='#/'><i class='icon-home'></i></a></li>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment