Misc test suite fixes for IE8. Fixes #323.
This commit is contained in:
parent
28052c2717
commit
b2c5c7f0e0
@ -279,7 +279,7 @@ test('_normalizeRecordsAndFields', function () {
|
||||
fields: [{id: 'col1'}, {id: 'col2'}],
|
||||
records: [
|
||||
{col1: 1, col2: 2},
|
||||
{col1: 3, col2: 4},
|
||||
{col1: 3, col2: 4}
|
||||
]
|
||||
},
|
||||
exp: {
|
||||
|
||||
@ -83,7 +83,7 @@ test('editable', function () {
|
||||
|
||||
$('.fixtures .test-datatable').append(view.el);
|
||||
view.render();
|
||||
view.grid.init();
|
||||
view.show();
|
||||
|
||||
var new_item = {lon: "foo", id: 1, z: 23, date: "12", y: 3, country: 'FR'};
|
||||
|
||||
@ -92,13 +92,15 @@ test('editable', function () {
|
||||
});
|
||||
|
||||
// Be sure a cell change triggers a change of the model
|
||||
e = new Slick.EventData();
|
||||
return view.grid.onCellChange.notify({
|
||||
row: 1,
|
||||
cell: 0,
|
||||
item: new_item,
|
||||
grid: view.grid
|
||||
}, e, view.grid);
|
||||
e = new Slick.EventData();
|
||||
view.grid.onCellChange.notify({
|
||||
row: 1,
|
||||
cell: 0,
|
||||
item: new_item,
|
||||
grid: view.grid
|
||||
}, e, view.grid);
|
||||
|
||||
view.remove();
|
||||
});
|
||||
|
||||
test('update', function() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user