diff --git a/webgoat-container/src/main/resources/static/js/goatApp/view/ScoreboardView.js b/webgoat-container/src/main/resources/static/js/goatApp/view/ScoreboardView.js index 4dd93606c..fb72d16aa 100644 --- a/webgoat-container/src/main/resources/static/js/goatApp/view/ScoreboardView.js +++ b/webgoat-container/src/main/resources/static/js/goatApp/view/ScoreboardView.js @@ -22,9 +22,7 @@ function($, //this.$el.html('test'); var t = _.template(this.template); this.$el.html(t({'rankings':this.collection.toJSON()})); - //TODO: add template (table) to iterate over ... - //this.collection.toJSON(); << put that in the template data - //TODO: set up next poll here with listenToOnce + setTimeout(this.pollData.bind(this), 5000); }, pollData: function() {