Don't include msg. in debug message copied paths

This commit is contained in:
Nick O'Leary
2017-05-12 10:19:50 +01:00
parent 5388002f54
commit 5feb07583b
2 changed files with 10 additions and 8 deletions

View File

@@ -250,7 +250,7 @@ RED.debug = (function() {
}
}
var el = $('<span class="debug-message-payload"></span>').appendTo(msg);
var path = (o.property?'msg.'+property:'msg');
var path = o.property||'';
RED.utils.createObjectElement(payload,/*true*/null,format,false,path,sourceNode&&sourceNode.id,path).appendTo(el);
var atBottom = (sbc.scrollHeight-messageList.height()-sbc.scrollTop) < 5;
var m = {