in tree lists with data, add light quotes around string values, fixes #739

This commit is contained in:
rolux 2012-04-14 14:15:11 +02:00
parent f7ed392d0f
commit 06bb13458b

View file

@ -171,6 +171,7 @@ Ox.TreeList = function(options, self) {
type == 'function'
? value.toString().split('{')[0]
: JSON.stringify(value)
.replace(/(^"|"$)/g, '<span class="OxLight">"</span>')
);
}
return ret;