Skip to content

Commit

Permalink
fixed for chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitggarg committed Oct 22, 2012
1 parent 2979caa commit 77b67c8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions js/grid.filter.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -453,8 +453,10 @@ $.fn.jqFilter = function( arg ) {
} }
} }
var ruleDataInput = $.jgrid.createEl(cm.inputtype,cm.searchoptions, rule.data, true, that.p.ajaxSelectOptions, true); var ruleDataInput = $.jgrid.createEl(cm.inputtype,cm.searchoptions, rule.data, true, that.p.ajaxSelectOptions, true);
if(rule.op == 'nu' || rule.op == 'nn') if(rule.op == 'nu' || rule.op == 'nn') {
$(ruleDataInput).attr('readonly','readonly'); //retain the state of disabled text fields in case of null ops $(ruleDataInput).attr('readonly','true');
$(ruleDataInput).attr('disabled','true');
} //retain the state of disabled text fields in case of null ops
// dropdown for: choosing operator // dropdown for: choosing operator
var ruleOperatorSelect = $("<select class='selectopts'></select>"); var ruleOperatorSelect = $("<select class='selectopts'></select>");
ruleOperatorTd.append(ruleOperatorSelect); ruleOperatorTd.append(ruleOperatorSelect);
Expand Down

0 comments on commit 77b67c8

Please sign in to comment.