Make debug message node id clickable

This commit is contained in:
Nick O'Leary
2016-10-26 22:08:28 +01:00
parent 1c905da8c2
commit a35ce22218
3 changed files with 24 additions and 22 deletions

View File

@@ -19,6 +19,7 @@ RED.debug = (function() {
header.addClass("debug-message-expandable");
header.click(function(e) {
$(this).parent().toggleClass('collapsed');
//e.stopPropagation();
e.preventDefault();
});
}
@@ -26,8 +27,6 @@ RED.debug = (function() {
headerHead = $('<span class="debug-message-object-header"></span>').appendTo(header);
$('<span>[ </span>').appendTo(headerHead);
}
for (i=0;i<length;i++) {
if (topLevel) {
value = obj[i];
@@ -57,6 +56,7 @@ RED.debug = (function() {
header.addClass("debug-message-expandable");
header.click(function(e) {
$(this).parent().toggleClass('collapsed');
//e.stopPropagation();
e.preventDefault();
});
}
@@ -92,6 +92,7 @@ RED.debug = (function() {
header.addClass("debug-message-expandable");
header.click(function(e) {
$(this).parent().toggleClass('collapsed');
//e.stopPropagation();
e.preventDefault();
});
}
@@ -143,6 +144,7 @@ RED.debug = (function() {
entryHeader.addClass("debug-message-expandable");
entryHeader.click(function(e) {
$(this).parent().toggleClass('collapsed');
//e.stopPropagation();
e.preventDefault();
});
}

View File

@@ -20,10 +20,10 @@
top: 42px;
left: 0px;
right: 0px;
background: #fff;
background: #f9f9f9;
padding: 10px;
border-bottom: 1px solid #ddd;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.debug-filter-row {
text-align: right;