From ygrego@users.nuiton.org Mon Feb 23 08:41:49 2015
From: ygrego@users.nuiton.org
To: sandbox-commits@list.nuiton.org
Subject: [Sandbox-commits] r847 - oipf/js/impl/model
Date: Mon, 23 Feb 2015 08:41:49 +0000
Message-ID: <20150223084149.6B5BA5C4386@goh.codelutin.com>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============2451988295815062513=="

--===============2451988295815062513==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

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".=20

Modified:
   oipf/js/impl/model/ChannelList.js

Modified: oipf/js/impl/model/ChannelList.js
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- 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 =3D 0; i < this.length; i++) {
-            var channel =3D this.elts[i];=20
+            var channel =3D (this)[i];=20
             if (channel.channelID && (channel.channelID =3D=3D channelID)) {
                 return channel;
             }


--===============2451988295815062513==--


