Skip to content

Commit

Permalink
Update jQuery.jqGrid.clickableCheckbox.js
Browse files Browse the repository at this point in the history
fix problem with removing `$.fmatter.isUndefined` in jqGrid 4.4.5
  • Loading branch information
OlegKi committed Apr 15, 2013
1 parent 03c3328 commit b14719b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jQuery.jqGrid.clickableCheckbox.js
Expand Up @@ -13,7 +13,7 @@
$.extend($.fn.fmatter, {
clickableCheckbox: function (cellValue, options) {
var op = $.extend({}, $.jgrid.formatter.checkbox, options.colModel.formatoptions);
if ($.fmatter.isEmpty(cellValue) || $.fmatter.isUndefined(cellValue)) {
if ($.fmatter.isEmpty(cellValue) || cellValue === undefined) {
cellValue = $.fn.fmatter.defaultFormat(cellValue, op);
}
cellValue = String(cellValue).toLowerCase();
Expand Down

0 comments on commit b14719b

Please sign in to comment.