Author: ygrego Date: 2015-05-28 16:01:07 +0000 (Thu, 28 May 2015) New Revision: 1561 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/1561 Log: Call method "setCurrentChannel" in constructor. Modified: oipf/js/utils/ChannelService.js Modified: oipf/js/utils/ChannelService.js =================================================================== --- oipf/js/utils/ChannelService.js 2015-05-28 15:57:23 UTC (rev 1560) +++ oipf/js/utils/ChannelService.js 2015-05-28 16:01:07 UTC (rev 1561) @@ -17,7 +17,7 @@ this.getNumber = oipf.utils.generateFourDigit.bind(null); - this.currentChannel = currentChannel || channelArte; + this.setCurrentChannel(currentChannel); this.channelList = new ChannelList(); this.createChannelList(); this.favouriteLists = new FavouriteListCollection();