From 8049c3d7f5cff6249dd493213f3333dbc348f429 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 9 Apr 2012 15:09:40 +0000 Subject: [PATCH] Fix updating row count when filter changes --- etemplate/js/et2_extension_nextmatch.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/etemplate/js/et2_extension_nextmatch.js b/etemplate/js/et2_extension_nextmatch.js index 4cad5f1025..3bec3bd2f8 100644 --- a/etemplate/js/et2_extension_nextmatch.js +++ b/etemplate/js/et2_extension_nextmatch.js @@ -929,9 +929,9 @@ var et2_nextmatch_header_bar = et2_DOMWidget.extend(et2_INextmatchHeader, { // Set up so if row count changes, display is updated // Register the handler which will update the "totalCount" display - /*this.dataview.grid.setInvalidateCallback(function () { - this.count_total.text(this.dataview.grid.getTotalCount() + ""); - }, this);*/ + this.nextmatch.dataview.grid.setInvalidateCallback(function () { + this.count_total.text(this.nextmatch.dataview.grid.getTotalCount() + ""); + }, this); // Left & Right headers this.headers = [];