Author: ygrego Date: 2015-07-07 13:21:33 +0000 (Tue, 07 Jul 2015) New Revision: 1774 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/1774 Log: Permit the update of current programme information in channel data view. Modified: oipf/emulator/js/contollers/PanelChannelController.js Modified: oipf/emulator/js/contollers/PanelChannelController.js =================================================================== --- oipf/emulator/js/contollers/PanelChannelController.js 2015-07-07 13:17:52 UTC (rev 1773) +++ oipf/emulator/js/contollers/PanelChannelController.js 2015-07-07 13:21:33 UTC (rev 1774) @@ -1,8 +1,15 @@ Controllers.controller("PanelChannelController", - ["$rootScope", "$scope", "VideoBroadcastService", function($rootScope, $scope, VideoBroadcastService) { + ["$rootScope", "$scope", "VideoBroadcastService", "SearchManagerService", + function($rootScope, $scope, VideoBroadcastService, SearchManagerService) { $scope.isRequired = false; // VideoBroadcastService.videoBroadcastObject.currentChannel = {logoURL: ""}; $scope.videoBroadcastService = VideoBroadcastService; + $scope.searchManagerService = SearchManagerService; + $scope.programmeTitle; + $scope.startTime; + $scope.stopTime; + $scope.category; + $scope.parentalControl; $scope.chanLogo = ""; @@ -11,6 +18,7 @@ if (newInfo) { console.log("Panel channel info will be activated."); $scope.chanLogo = $scope.videoBroadcastService.getCurrentChannelLogoUrl(); + $scope.programmeTitle = $scope.searchManagerService.getCurrentProgrammeName(); $scope.isRequired = true; } else if (!newInfo) {