Commit 4ec59e82 by Torkel Ödegaard

Tech: cleanup unused angular-strap directives, Closes #1029

parent 1e6a5ff8
...@@ -26,7 +26,7 @@ function (angular, $, _) { ...@@ -26,7 +26,7 @@ function (angular, $, _) {
template += '</div>'; template += '</div>';
template += '<div class="panel-menu-row">'; template += '<div class="panel-menu-row">';
template += '<a class="panel-menu-link" bs-dropdown="extendedMenu"><i class="icon-th-list"></i></a>'; template += '<a class="panel-menu-link" gf-dropdown="extendedMenu"><i class="icon-th-list"></i></a>';
_.each($scope.panelMeta.menu, function(item) { _.each($scope.panelMeta.menu, function(item) {
template += '<a class="panel-menu-link" '; template += '<a class="panel-menu-link" ';
......
...@@ -75,8 +75,8 @@ function (angular, app, _, moment, kbn) { ...@@ -75,8 +75,8 @@ function (angular, app, _, moment, kbn) {
// Date picker needs the date to be at the start of the day // Date picker needs the date to be at the start of the day
if(new Date().getTimezoneOffset() < 0) { if(new Date().getTimezoneOffset() < 0) {
$scope.temptime.from.date = moment($scope.temptime.from.date).add('days',1).toDate(); $scope.temptime.from.date = moment($scope.temptime.from.date).add(1, 'days').toDate();
$scope.temptime.to.date = moment($scope.temptime.to.date).add('days',1).toDate(); $scope.temptime.to.date = moment($scope.temptime.to.date).add(1, 'days').toDate();
} }
$scope.appEvent('show-dash-editor', {src: 'app/panels/timepicker/custom.html', scope: $scope }); $scope.appEvent('show-dash-editor', {src: 'app/panels/timepicker/custom.html', scope: $scope });
......
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