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

Commit 6e7f185

Browse files
author
Gabriel Schulhof
committed
Table: Restrict selector scope by using generated popup ID
Closes gh-7342 Fixes gh-7341
1 parent 301f124 commit 6e7f185

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/table/table_core.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@
273273
asyncTest( "Column toggle table rebuild" , function(){
274274

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

279279
$input.trigger('click');
@@ -282,7 +282,7 @@
282282

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

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

0 commit comments

Comments
 (0)