Permalink
Browse files

adding webkit browser to subgrid. Shold be fixed later like in base grid

  • Loading branch information...
1 parent a21168b commit c1f3c99f7ef270df2cee6d4dc68703f86b24c8d6 @tonytomov committed Sep 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/grid.subgrid.js
View
@@ -23,7 +23,7 @@ setSubGrid : function () {
};
$t.p.subGridOptions = $.extend(suboptions, $t.p.subGridOptions || {});
$t.p.colNames.unshift("");
- $t.p.colModel.unshift({name:'subgrid',width: $.browser.safari ? $t.p.subGridWidth+$t.p.cellLayout : $t.p.subGridWidth,sortable: false,resizable:false,hidedlg:true,search:false,fixed:true});
+ $t.p.colModel.unshift({name:'subgrid',width: ($.browser.safari || $.browser.webkit) ? $t.p.subGridWidth+$t.p.cellLayout : $t.p.subGridWidth,sortable: false,resizable:false,hidedlg:true,search:false,fixed:true});
cm = $t.p.subGridModel;
if(cm[0]) {
cm[0].align = $.extend([],cm[0].align || []);

0 comments on commit c1f3c99

Please sign in to comment.