mirror of https://github.com/node-red/node-red.git
Restore object keys values in debug sidebar
parent
1f2c9879bd
commit
f0f40a8606
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue