diff --git a/htrace-core/src/web/app/models/span.js b/htrace-core/src/web/app/models/span.js index 306533d..06b6b3c 100644 --- a/htrace-core/src/web/app/models/span.js +++ b/htrace-core/src/web/app/models/span.js @@ -102,7 +102,7 @@ app.Spans = Backbone.PageableCollection.extend({ }, initialize: function() { - this.on("sync", function(collection, response, options) { + this.on("reset", function(collection, response, options) { if (response.length == 0) { delete this.links[this.state.currentPage]; this.getPreviousPage();