From 6eef7c567b377378ea5ebef3ae1bbd73de3ad100 Mon Sep 17 00:00:00 2001 From: rlx <0x0073@0x2620.org> Date: Sat, 22 Oct 2011 14:55:13 +0000 Subject: [PATCH] when setting a value of a text list cell, pass key, value _and all data_ to the format function --- source/Ox.UI/js/List/Ox.TextList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Ox.UI/js/List/Ox.TextList.js b/source/Ox.UI/js/List/Ox.TextList.js index 0ed389b5..38cfc690 100644 --- a/source/Ox.UI/js/List/Ox.TextList.js +++ b/source/Ox.UI/js/List/Ox.TextList.js @@ -943,7 +943,7 @@ Ox.TextList = function(options, self) { id = value; } $cell = getCell(id, key); - $cell && $cell.html(formatValue(key, value)); + $cell && $cell.html(formatValue(key, value, that.$body.value(id))); if (key == self.options.sort[0].key) { // sort key has changed that.$body.sort();