fix bug where startPolling would only poll the last collection to have called startPolling
diff --git a/planetstack/core/xoslib/static/js/xoslib/xos-backbone.js b/planetstack/core/xoslib/static/js/xoslib/xos-backbone.js
index 4451328..d2d8f17 100644
--- a/planetstack/core/xoslib/static/js/xoslib/xos-backbone.js
+++ b/planetstack/core/xoslib/static/js/xoslib/xos-backbone.js
@@ -87,8 +87,8 @@
},
startPolling: function() {
- if (!this._polling) {
- collection=this;
+ if (!this._polling) {
+ var collection=this;
setInterval(function() { collection.fetch(); }, 10000);
this._polling=true;
this.fetch();