[fix,#19][xs]: show doc count again (lost in penultimate commit).

This commit is contained in:
Rufus Pollock 2012-01-10 18:33:16 +00:00
parent e1f2ebf89f
commit 2372b2ba37

View File

@ -106,6 +106,7 @@ my.DataExplorer = Backbone.View.extend({
// retrieve basic data like headers etc
// note this.model and dataset returned are the same
this.model.fetch().then(function(dataset) {
self.el.find('.doc-count').text(self.model.docCount);
// initialize of dataTable calls render
self.model.getDocuments(self.config.displayCount);
});