diff options
-rw-r--r-- | dev/jquery.jtable.editing.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/jquery.jtable.editing.js b/dev/jquery.jtable.editing.js index 9b7ac91..39a85d0 100644 --- a/dev/jquery.jtable.editing.js +++ b/dev/jquery.jtable.editing.js @@ -415,7 +415,7 @@ var $columns = $tableRow.find('td'); for (var i = 0; i < this._columnList.length; i++) { var displayItem = this._getDisplayTextForRecordField(record, this._columnList[i]); - if ((displayItem != "") && (displayItem == 0)) displayItem = "0"; + if ((displayItem === 0)) displayItem = "0"; $columns.eq(this._firstDataColumnOffset + i).html(displayItem || ''); } |