|
60 | 60 |
|
61 | 61 | ok($table.length, "table still enhanced"); |
62 | 62 |
|
63 | | - ok($firstHeaderCell.data("cells").length, |
| 63 | + ok($firstHeaderCell.jqmData( "cells" ).length, |
64 | 64 | "column cells still assigned to header cell"); |
65 | 65 |
|
66 | | - equal($firstHeaderCell.data('cells').eq(0).closest("table").attr('id'), |
| 66 | + equal($firstHeaderCell.jqmData( "cells" ).eq(0).closest("table").attr('id'), |
67 | 67 | "movie-table", |
68 | 68 | "Cell stored is a refreshed cell (currently in the table"); |
69 | 69 |
|
70 | | - equal($cellLookUp, $firstHeaderCell.data('cells').first().attr("data-test"), |
| 70 | + equal($cellLookUp, $firstHeaderCell.jqmData( "cells" ).first().attr("data-test"), |
71 | 71 | "Cell stored in header is in the column of the respective header"); |
72 | 72 | start(); |
73 | 73 | }, 800); |
|
111 | 111 | $(window).trigger("refresh_test_table", ["#reflow-table-test"]); |
112 | 112 |
|
113 | 113 | equal( |
114 | | - $firstHeaderCell.data("cells").first().find('b').length, |
| 114 | + $firstHeaderCell.jqmData( "cells" ).first().find('b').length, |
115 | 115 | 1, |
116 | 116 | "Refreshing does not add more labels to a table cell" |
117 | 117 | ); |
|
197 | 197 | ok( $input.is( ":checked" ), false, "Input still not checked after refresh" ); |
198 | 198 |
|
199 | 199 | equal( |
200 | | - $second_input.data("cells").last().attr("data-test"), |
| 200 | + $second_input.jqmData( "cells" ).last().attr("data-test"), |
201 | 201 | "foo", |
202 | 202 | "Cell referenced in popup is in table after refresh, columns without data-priority set don't break table on refresh"); |
203 | 203 |
|
|
235 | 235 | ok( $input.is( ":checked" ), false, "Input still not checked after rebuild" ); |
236 | 236 |
|
237 | 237 | equal( |
238 | | - $last_input.data("cells").last().attr("data-test"), |
| 238 | + $last_input.jqmData( "cells" ).last().attr("data-test"), |
239 | 239 | "xyz", |
240 | 240 | "Cell referenced in popup is in table after rebuild (new column and toggle button), columns without data-priority don't break table on rebuild"); |
241 | 241 |
|
|
0 commit comments