On invalid regular expression, keep all current rows displayed in data-table view
This commit is contained in:
parent
e4db4d7633
commit
178e4e5bca
@ -430,9 +430,6 @@ Refine.fetchRows = function(start, limit, onDone, sorting) {
|
|||||||
function(data) {
|
function(data) {
|
||||||
if(data.code === 'error') {
|
if(data.code === 'error') {
|
||||||
data = theProject.rowModel;
|
data = theProject.rowModel;
|
||||||
//maybe change the data to zero?
|
|
||||||
data.rows = [];
|
|
||||||
data.filtered = 0;
|
|
||||||
}
|
}
|
||||||
theProject.rowModel = data;
|
theProject.rowModel = data;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user