summaryrefslogtreecommitdiffstats
path: root/app/server-health/controllers/log-controller.js
diff options
context:
space:
mode:
authorAndrew Geissler <geissonator@yahoo.com>2018-04-11 12:24:22 -0700
committerGunnar Mills <gmills@us.ibm.com>2018-04-16 20:48:47 +0000
commit4dcc142fea0ac3b70047385ae74d4d9fcc23a2c9 (patch)
treee0237790bf67c9f145df14b0c1f9cfdf58638b40 /app/server-health/controllers/log-controller.js
parentcf86200753abb86347d78e1b2df37f97a36ec5c4 (diff)
downloadphosphor-webui-4dcc142fea0ac3b70047385ae74d4d9fcc23a2c9.tar.gz
phosphor-webui-4dcc142fea0ac3b70047385ae74d4d9fcc23a2c9.zip
Revert "Fix refresh for event log page"
This reverts commit a4dacb6a365609ec8e602b3b020030fe73da6087. https://gerrit.openbmc-project.xyz/#/c/10063/ refreshes all pages so individual refresh functions are no longer needed Change-Id: Icbe38276b53457cc2a0c22b29a58c9fee84e6f25 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'app/server-health/controllers/log-controller.js')
-rw-r--r--app/server-health/controllers/log-controller.js11
1 files changed, 1 insertions, 10 deletions
diff --git a/app/server-health/controllers/log-controller.js b/app/server-health/controllers/log-controller.js
index d871778..7493ba5 100644
--- a/app/server-health/controllers/log-controller.js
+++ b/app/server-health/controllers/log-controller.js
@@ -15,7 +15,6 @@ window.angular && (function (angular) {
paginationTemplateProvider.setString(require('../../common/directives/dirPagination.tpl.html'));
})
.controller('logController', [
- '$rootScope',
'$scope',
'$window',
'APIUtils',
@@ -23,7 +22,7 @@ window.angular && (function (angular) {
'Constants',
'$routeParams',
'$filter',
- function($rootScope, $scope, $window, APIUtils, dataService, Constants, $routeParams, $filter){
+ function($scope, $window, APIUtils, dataService, Constants, $routeParams, $filter){
$scope.dataService = dataService;
$scope.logs = [];
$scope.tmz = 'EDT';
@@ -192,14 +191,6 @@ window.angular && (function (angular) {
}, true);
$scope.loadLogs();
-
- var refreshDataListener = $rootScope.$on('refresh-data', function(event, args){
- $scope.loadLogs();
- });
-
- $scope.$on('$destroy', function() {
- refreshDataListener();
- });
}
]
);
OpenPOWER on IntegriCloud