Restore object keys values in debug sidebar

This commit is contained in:
Nick O'Leary 2016-11-02 00:19:00 +00:00
parent 1f2c9879bd
commit f0f40a8606
1 changed files with 2 additions and 0 deletions

View File

@ -351,6 +351,8 @@ RED.debug = (function() {
$('<span>{ </span>').appendTo(headerHead);
var keysLength = Math.min(keys.length,5);
for (i=0;i<keysLength;i++) {
$('<span class="debug-message-object-key"></span>').text(keys[i]).appendTo(headerHead);
$('<span>: </span>').appendTo(headerHead);
buildMessageSummaryValue(obj[keys[i]]).appendTo(headerHead);
if (i < keysLength-1) {
$('<span>, </span>').appendTo(headerHead);