Skip to content

Commit

Permalink
Merge pull request vitmalina#1098 from dejang/vitmalina#1097
Browse files Browse the repository at this point in the history
Check editable field type instead of value type
  • Loading branch information
vitmalina committed Nov 16, 2015
2 parents 3e29886 + 6b3e5a2 commit ebb42c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/w2grid.js
Original file line number Diff line number Diff line change
Expand Up @@ -2430,7 +2430,7 @@
' field="'+ col.field +'" recid="'+ recid +'" column="'+ column +'" class="w2ui-input"'+ edit.inTag +
'/>' + edit.outTag);
// issue #499
if (typeof val == 'number') {
if (edit.type == 'number') {
val = w2utils.formatNumber(val);
}
if (edit.type == 'date') {
Expand Down

0 comments on commit ebb42c8

Please sign in to comment.