summaryrefslogtreecommitdiffstats
path: root/dev/jquery.jtable.editing.js
diff options
context:
space:
mode:
authormikesjansen <michael.jansen@gmail.com>2013-04-25 16:22:06 -0700
committermikesjansen <michael.jansen@gmail.com>2013-04-25 16:22:06 -0700
commite658165ce314a8b23a2ea5933c10bd0fa0ae70a0 (patch)
tree81e095a37472141a2a1bc7bf37a5be9fe1ddeb3b /dev/jquery.jtable.editing.js
parent7bca4f19a43d591e675a70690fa18937c329a1ce (diff)
downloadjtable-e658165ce314a8b23a2ea5933c10bd0fa0ae70a0.zip
jtable-e658165ce314a8b23a2ea5933c10bd0fa0ae70a0.tar.gz
jtable-e658165ce314a8b23a2ea5933c10bd0fa0ae70a0.tar.bz2
Update jquery.jtable.editing.js
Fixes issue 69 when and edit is done with an integer value of 0
Diffstat (limited to 'dev/jquery.jtable.editing.js')
-rw-r--r--dev/jquery.jtable.editing.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/dev/jquery.jtable.editing.js b/dev/jquery.jtable.editing.js
index d48fff5..cb6c0c2 100644
--- a/dev/jquery.jtable.editing.js
+++ b/dev/jquery.jtable.editing.js
@@ -342,6 +342,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 == 0) displayItem = "0";
$columns.eq(this._firstDataColumnOffset + i).html(displayItem || '');
}