Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Table: Restrict selector scope by using generated popup ID
Browse files Browse the repository at this point in the history
(cherry picked from commit 6e7f185)

Closes gh-7342
Fixes gh-7341
  • Loading branch information
Gabriel Schulhof committed Apr 24, 2014
1 parent 5699421 commit d04d7a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/table/table_core.js
Expand Up @@ -273,7 +273,7 @@
asyncTest( "Column toggle table rebuild" , function(){

var $last_input, $visibleCells, $visibleHeaders,
$input = $( ".ui-popup-container" ).find( "input" ).eq(2),
$input = $( "#movie-table-column-popup" ).find( "input" ).eq(2),
$table = $('#movie-table-column');

$input.trigger('click');
Expand All @@ -282,7 +282,7 @@

$(window).trigger("refresh_col_table", ["#column-table-test"]);

$last_input = $( ".ui-popup-container" ).find( "input" ).last(),
$last_input = $( "#movie-table-column-popup" ).find( "input" ).last(),
$visibleCells = $table.find("tbody tr").first().find("th, td").not('.ui-table-cell-hidden'),
$visibleHeaders = $table.find("thead tr").first().find("th, td").not('.ui-table-cell-hidden');

Expand Down

0 comments on commit d04d7a1

Please sign in to comment.