Author: ygrego Date: 2015-04-14 14:12:36 +0000 (Tue, 14 Apr 2015) New Revision: 1174 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/1174 Log: Deletion of a term in condition of "else if". Modified: oipf/js/impl/model/MetadataSearch.js Modified: oipf/js/impl/model/MetadataSearch.js =================================================================== --- oipf/js/impl/model/MetadataSearch.js 2015-04-14 13:43:09 UTC (rev 1173) +++ oipf/js/impl/model/MetadataSearch.js 2015-04-14 14:12:36 UTC (rev 1174) @@ -252,7 +252,7 @@ this._constraints.channels.length = 0; } else if (!(channels instanceof ChannelList) && - !(channels instanceof Channel) || channels != null) { + !(channels instanceof Channel)) { throw new TypeError ("This function cannot be called with this argument.");