Author: ygrego Date: 2015-05-06 15:24:59 +0000 (Wed, 06 May 2015) New Revision: 1328 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/1328 Log: Deletion of property "_metadataManager" in method "init" and in the class's prototype. Instanciation modification of property "_metadata". Modified: oipf/js/impl/SearchManagerObject.js Modified: oipf/js/impl/SearchManagerObject.js =================================================================== --- oipf/js/impl/SearchManagerObject.js 2015-05-06 15:12:13 UTC (rev 1327) +++ oipf/js/impl/SearchManagerObject.js 2015-05-06 15:24:59 UTC (rev 1328) @@ -104,15 +104,13 @@ _metadata: null, - _metadataManager: null, - init: function(modelFactory) { this._modelFactory = modelFactory; this._listeners = {}; this._callbacks = {}; this._eventManager = new EventManager(); - this._metadataManager = new MetadataManager(new XmlTvData(metadata)); - this._metadata = this._metadataManager.getMetadata("XML_TV"); + this._metadata = this._modelFactory + .getMetadataManager().getMetadata("XML_TV"); }, /*