diff -r 5cd368dba1b9 -r 972099304059 src/js/model.js --- a/src/js/model.js Wed Jun 20 18:41:41 2012 +0200 +++ b/src/js/model.js Tue Jun 26 14:22:29 2012 +0200 @@ -660,18 +660,6 @@ return this.directory.getElement(_elId); } -IriSP.Model.Source.prototype.setCurrentMediaId = function(_idRef) { - if (typeof _idRef !== "undefined") { - this.currentMedia = this.getElement(_idRef); - } -} - -IriSP.Model.Source.prototype.setDefaultCurrentMedia = function() { - if (typeof this.currentMedia === "undefined" && this.getMedias().length) { - this.currentMedia = this.getMedias()[0]; - } -} - IriSP.Model.Source.prototype.get = function() { this.status = IriSP.Model._SOURCE_STATUS_WAITING; this.handleCallbacks();