Author: ygrego Date: 2015-05-29 13:04:35 +0000 (Fri, 29 May 2015) New Revision: 1571 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/1571 Log: The call to method "setCurrentChannel" has been moved in constructor. Modified: oipf/js/utils/ChannelService.js Modified: oipf/js/utils/ChannelService.js =================================================================== --- oipf/js/utils/ChannelService.js 2015-05-29 13:03:32 UTC (rev 1570) +++ oipf/js/utils/ChannelService.js 2015-05-29 13:04:35 UTC (rev 1571) @@ -17,11 +17,11 @@ this.getNumber = oipf.utils.generateFourDigit.bind(null); - this.setCurrentChannel(currentChannel); this.channelList = new ChannelList(); this.createChannelList(); this.favouriteLists = new FavouriteListCollection(); this.currentFavouriteList = new FavouriteList(); + this.setCurrentChannel(currentChannel); }, createChannelList: function() {