src/js/model.js
branchnew-model
changeset 919 972099304059
parent 917 eb8677d3a663
child 925 28efc97b5d78
--- 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();