Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Update js/jquery.fmatter.js #380

Merged
merged 1 commit into from

2 participants

@kccarter

resolves issue #379

@tonytomov tonytomov merged commit d3b27c1 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 6, 2012
  1. @kccarter

    Update js/jquery.fmatter.js

    kccarter authored
    resolves issue #379
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  js/jquery.fmatter.js
View
2  js/jquery.fmatter.js
@@ -271,7 +271,7 @@
if(op.disabled===true) {ds = "disabled=\"disabled\"";} else {ds="";}
if($.fmatter.isEmpty(cval) || $.fmatter.isUndefined(cval) ) {cval = $.fn.fmatter.defaultFormat(cval,op);}
cval=cval+"";cval=cval.toLowerCase();
- var bchk = cval.search(/(false|0|no|off)/i)<0 ? " checked='checked' " : "";
+ var bchk = cval.search(/(false|0|no|n|off)/i)<0 ? " checked='checked' " : "";
return "<input type=\"checkbox\" " + bchk + " value=\""+ cval+"\" offval=\"no\" "+ds+ "/>";
};
$.fn.fmatter.link = function(cellval, opts) {
Something went wrong with that request. Please try again.