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

Commit f61d376

Browse files
allsteadyGabriel Schulhof
authored andcommitted
Table: fix the bug of refresh method in table widget
Closes gh-6698 Fixes gh-7090
1 parent 932add8 commit f61d376

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/widgets/table.columntoggle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ $.widget( "mobile.table", $.mobile.table, {
178178

179179
if ( !create && this.options.mode === "columntoggle" ) {
180180
// columns not being replaced must be cleared from input toggle-locks
181-
this._unlockCells( this.allHeaders );
181+
this._unlockCells( this.element.find( ".ui-table-cell-hidden, .ui-table-cell-visible" ) );
182182

183183
// update columntoggles and cells
184184
this._addToggles( this._menu, create );

0 commit comments

Comments
 (0)