Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

default value if empty string fix

  • Loading branch information...
commit a4dab093649d7b7856d01ea61126787e1e023b37 1 parent c04d9da
@joeferner authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/model.js
View
2  lib/model.js
@@ -233,7 +233,7 @@ exports.define = function (name, columnDefs) {
};
}
- if (!columnDef.defaultValue) {
+ if (!columnDef.hasOwnProperty('defaultValue')) {
columnDef.defaultValue = function () { return null; };
} else {
if (typeof (columnDef.defaultValue) !== "function") {
Please sign in to comment.
Something went wrong with that request. Please try again.