Permalink
Browse files

Fix for Chrome in showHideColl too.

  • Loading branch information...
tonytomov committed May 17, 2012
1 parent cf26b2c commit 8d7eff0aac7a2d93dea3e5b405cc4b50c1b72f58
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/grid.base.js
View
@@ -3022,7 +3022,7 @@ $.jgrid.extend({
},
showHideCol : function(colname,show) {
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( typeof colname === 'string') {colname=[colname];}
show = show != "none" ? "" : "none";

0 comments on commit 8d7eff0

Please sign in to comment.