diff options
Diffstat (limited to 'bandwagon/content/scripts/model/serviceDocument.js')
-rw-r--r-- | bandwagon/content/scripts/model/serviceDocument.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bandwagon/content/scripts/model/serviceDocument.js b/bandwagon/content/scripts/model/serviceDocument.js index fc29a50..9d96780 100644 --- a/bandwagon/content/scripts/model/serviceDocument.js +++ b/bandwagon/content/scripts/model/serviceDocument.js @@ -46,7 +46,8 @@ Bandwagon.Model.ServiceDocument = function() Bandwagon.Model.ServiceDocument.prototype.unserialize = function(xsharing) { - var baseURL = xsharing.@xmlbase.toString(); + var xmlns = new Namespace('http://www.w3.org/XML/1998/namespace'); + var baseURL = xsharing.@xmlns::base.toString(); // resource urls @@ -73,7 +74,6 @@ Bandwagon.Model.ServiceDocument.prototype.unserialize = function(xsharing) collection.addonsResourceURL = baseURL + "/" + xcollection.addons.attribute("href").toString(); - if (collection.subscribed) - this.collections.push(collection); + this.collections.push(collection); } } |