mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Ensure debug tools show for 'complete msg object'
This commit is contained in:
parent
6191a49ed3
commit
a25dad6c2e
@ -476,7 +476,7 @@ RED.utils = (function() {
|
|||||||
for (i=0;i<keys.length;i++) {
|
for (i=0;i<keys.length;i++) {
|
||||||
var row = $('<div class="debug-message-object-entry collapsed"></div>').appendTo(element);
|
var row = $('<div class="debug-message-object-entry collapsed"></div>').appendTo(element);
|
||||||
var newPath = path;
|
var newPath = path;
|
||||||
if (newPath) {
|
if (newPath !== undefined) {
|
||||||
if (/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(keys[i])) {
|
if (/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(keys[i])) {
|
||||||
newPath += (newPath.length > 0?".":"")+keys[i];
|
newPath += (newPath.length > 0?".":"")+keys[i];
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user