From 2f9880071500f0c68ea08ef724e5723687fce99e Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Wed, 30 May 2012 02:32:14 +0200 Subject: [PATCH] typo --- source/Ox.UI/js/List/TreeList.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/source/Ox.UI/js/List/TreeList.js b/source/Ox.UI/js/List/TreeList.js index 701a1b26..ec839531 100644 --- a/source/Ox.UI/js/List/TreeList.js +++ b/source/Ox.UI/js/List/TreeList.js @@ -174,11 +174,10 @@ Ox.TreeList = function(options, self) { ret.title += Ox.toTitleCase(type) + ' [' + Ox.len(value) + ']'; ret.items = type == 'array' ? value.map(function(v, i) { - return parseData(i, v); - }) : Ox.sort(Object.keys(value)).map(function(k) { - return parseData(k, value[k]); - }) - ); + return parseData(i, v); + }) : Ox.sort(Object.keys(value)).map(function(k) { + return parseData(k, value[k]); + }); } else { ret.title += ( type == 'function'