Skip to content

Commit

Permalink
Fix for Chrome in showHideColl too.
Browse files Browse the repository at this point in the history
  • Loading branch information
tonytomov committed May 17, 2012
1 parent cf26b2c commit 8d7eff0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/grid.base.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -3022,7 +3022,7 @@ $.jgrid.extend({
}, },
showHideCol : function(colname,show) { showHideCol : function(colname,show) {
return this.each(function() { return this.each(function() {
var $t = this, fndh=false, brd=$.browser.webkit||$.browser.safari? 0: $t.p.cellLayout, cw; var $t = this, fndh=false, brd=$.jgrid.cellWidth()? 0: $t.p.cellLayout, cw;
if (!$t.grid ) {return;} if (!$t.grid ) {return;}
if( typeof colname === 'string') {colname=[colname];} if( typeof colname === 'string') {colname=[colname];}
show = show != "none" ? "" : "none"; show = show != "none" ? "" : "none";
Expand Down

0 comments on commit 8d7eff0

Please sign in to comment.