Author: ygrego Date: 2015-02-23 08:41:49 +0000 (Mon, 23 Feb 2015) New Revision: 847 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/847 Log: Modify the way of access to element of the class "ChannelList" (into method "getChannel") because this one inherit from "Collection". Modified: oipf/js/impl/model/ChannelList.js Modified: oipf/js/impl/model/ChannelList.js =================================================================== --- oipf/js/impl/model/ChannelList.js 2015-02-23 08:32:09 UTC (rev 846) +++ oipf/js/impl/model/ChannelList.js 2015-02-23 08:41:49 UTC (rev 847) @@ -26,7 +26,7 @@ */ getChannel: function(channelID) { for (var i = 0; i < this.length; i++) { - var channel = this.elts[i]; + var channel = (this)[i]; if (channel.channelID && (channel.channelID == channelID)) { return channel; }