Permalink
Browse files

Table: fix the bug of refresh method in table widget

Closes gh-6698
Fixes gh-7090
  • Loading branch information...
allsteady authored and gabrielschulhof committed Nov 5, 2013
1 parent 932add8 commit f61d376398ba81f7f7fa3d6f84cb9812ebfc255a
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/widgets/table.columntoggle.js
@@ -178,7 +178,7 @@ $.widget( "mobile.table", $.mobile.table, {
if ( !create && this.options.mode === "columntoggle" ) {
// columns not being replaced must be cleared from input toggle-locks
- this._unlockCells( this.allHeaders );
+ this._unlockCells( this.element.find( ".ui-table-cell-hidden, .ui-table-cell-visible" ) );
// update columntoggles and cells
this._addToggles( this._menu, create );

0 comments on commit f61d376

Please sign in to comment.