1
0
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:
Nick O'Leary 2018-02-13 23:42:22 +00:00
parent 6191a49ed3
commit a25dad6c2e
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -476,7 +476,7 @@ RED.utils = (function() {
for (i=0;i<keys.length;i++) {
var row = $('<div class="debug-message-object-entry collapsed"></div>').appendTo(element);
var newPath = path;
if (newPath) {
if (newPath !== undefined) {
if (/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(keys[i])) {
newPath += (newPath.length > 0?".":"")+keys[i];
} else {