mirror of
https://github.com/koalyptus/TableFilter.git
synced 2026-03-18 08:29:50 +01:00
Fixed unit tests
This commit is contained in:
parent
38424bfdca
commit
7cd85bbd34
14 changed files with 31 additions and 28 deletions
|
|
@ -137,9 +137,10 @@
|
|||
tf = null;
|
||||
tf = new TableFilter('demo', {
|
||||
base_path: '../dist/tablefilter/',
|
||||
grid_enable_default_filters: false,
|
||||
col_width: ['100px','100px','100px','100px','100px'],
|
||||
grid_layout: true
|
||||
grid_layout: {
|
||||
enable_default_filters: false
|
||||
}
|
||||
});
|
||||
|
||||
// act
|
||||
|
|
|
|||
|
|
@ -49,8 +49,9 @@ test('Grid layout with no header', function() {
|
|||
tf.destroy();
|
||||
tf = new TableFilter('demo', {
|
||||
base_path: '../dist/tablefilter/',
|
||||
grid_layout: true,
|
||||
grid_no_headers: true
|
||||
grid_layout: {
|
||||
no_headers: true
|
||||
}
|
||||
});
|
||||
tf.init();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue