Skip to content

Commit

Permalink
fix(core) row searcher was trying to call an api when the api wasn't …
Browse files Browse the repository at this point in the history
…available yet
  • Loading branch information
swalters committed Sep 30, 2014
1 parent bccaf9e commit 74132b4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/js/core/services/rowSearcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -374,8 +374,10 @@ module.service('rowSearcher', ['$log', 'uiGridConstants', function ($log, uiGrid
}
});
});

grid.api.core.raise.rowsVisibleChanged();

if (grid.api.core.raise.rowsVisibleChanged) {
grid.api.core.raise.rowsVisibleChanged();
}

// rows.forEach(function (row) {
// var matchesAllColumns = true;
Expand Down

0 comments on commit 74132b4

Please sign in to comment.