diff --git a/src/app/features/dashboard/rowCtrl.js b/src/app/features/dashboard/rowCtrl.js index e2ab9a0c156..494f10657fc 100644 --- a/src/app/features/dashboard/rowCtrl.js +++ b/src/app/features/dashboard/rowCtrl.js @@ -169,22 +169,4 @@ function (angular, app, _, config) { }; }); - module.directive('panelGhost', function() { - return function(scope, element) { - function updateWidth() { - var spanLeft = 12 - scope.dashboard.rowSpan(scope.row); - if (spanLeft > 1) { - element.show(); - element.find('.panel-container').css('height', scope.row.height); - element[0].style.width = ((spanLeft / 1.2) * 10) + '%'; - } else { - element.hide(); - } - } - - updateWidth(); - scope.$on('dashboard-panel-span-updated', updateWidth); - }; - }); - }); diff --git a/src/app/partials/dashboard.html b/src/app/partials/dashboard.html index edfe1bfcafb..39e05ebecb6 100644 --- a/src/app/partials/dashboard.html +++ b/src/app/partials/dashboard.html @@ -86,14 +86,6 @@ -
-
-
- -
-
-
-