Author: ygrego Date: 2015-04-08 08:00:30 +0000 (Wed, 08 Apr 2015) New Revision: 1101 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/1101 Log: Addition of setter and gette for property "_callback". Modified: oipf/js/impl/SearchManagerObject.js Modified: oipf/js/impl/SearchManagerObject.js =================================================================== --- oipf/js/impl/SearchManagerObject.js 2015-04-08 07:57:02 UTC (rev 1100) +++ oipf/js/impl/SearchManagerObject.js 2015-04-08 08:00:30 UTC (rev 1101) @@ -84,6 +84,18 @@ */ onMetadataSearch: null, + _getCallback : function(type) { + if(this._callbacks) { + return this._callbacks[type]; + } + }, + + _setCallback: function(type, callback){ + if(this._callbacks) { + this._callbacks[type] = callback; + } + }, + _metadata: null, _metadataManager: null,
participants (1)
-
ygregoï¼ users.nuiton.org