Author: ygrego Date: 2015-05-29 13:09:39 +0000 (Fri, 29 May 2015) New Revision: 1572 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/1572 Log: Modification of the first "if" statement condition in the method "setCurrentChannel". Modified: oipf/js/utils/ChannelService.js Modified: oipf/js/utils/ChannelService.js =================================================================== --- oipf/js/utils/ChannelService.js 2015-05-29 13:04:35 UTC (rev 1571) +++ oipf/js/utils/ChannelService.js 2015-05-29 13:09:39 UTC (rev 1572) @@ -39,7 +39,7 @@ setCurrentChannel: function(name) { this.currentChannel = this.getChannelByName(this.channelList, name); - if (this.currentChannel && this.channelList) { + if (!this.currentChannel && this.channelList) { var channel = this.channelList[0]; if (channel) {