summaryrefslogtreecommitdiffstats
path: root/dev/jquery.jtable.editing.js
diff options
context:
space:
mode:
authorEefimov <ef_ev@mail.ru>2016-03-19 17:28:46 +0300
committerEefimov <ef_ev@mail.ru>2016-03-19 17:28:46 +0300
commit8297eae251b34ca195480141dc232bddf756adda (patch)
treee206650c38d01e26ea14d7a05641076cb7453d5d /dev/jquery.jtable.editing.js
parentd5cbeb5201832bc750cc30ef538e0110a1e17e87 (diff)
downloadjtable-8297eae251b34ca195480141dc232bddf756adda.zip
jtable-8297eae251b34ca195480141dc232bddf756adda.tar.gz
jtable-8297eae251b34ca195480141dc232bddf756adda.tar.bz2
bugfix: 0 disappeared after updating a row
Diffstat (limited to 'dev/jquery.jtable.editing.js')
-rw-r--r--dev/jquery.jtable.editing.js2
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 || '');
}