Pager: use selectorRemove to remove error rows

Removes error rows with dynamically changed class names
This commit is contained in:
Rob Garrison 2017-06-08 19:10:39 -05:00
parent e12785b92c
commit 5923ef0e0e
4 changed files with 4 additions and 4 deletions

View File

@ -1198,7 +1198,7 @@
valid = true,
message = '',
removeRow = function(){
c.$table.find( 'thead' ).find( '.' + errorRow ).remove();
c.$table.find( 'thead' ).find( c.selectorRemove ).remove();
};
if ( !$table.length ) {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1307,7 +1307,7 @@
valid = true,
message = '',
removeRow = function() {
c.$table.find( 'thead' ).find( '.' + errorRow ).remove();
c.$table.find( 'thead' ).find( c.selectorRemove ).remove();
};
if ( !$table.length ) {