diff --git a/resources/report/css/style.css b/resources/report/css/style.css index 472a4d07..26ea3d26 100644 --- a/resources/report/css/style.css +++ b/resources/report/css/style.css @@ -395,10 +395,10 @@ td input { width: 100%; text-overflow: ellipsis; } -.editable td:last-child span { +.editable td:last-child { cursor: pointer; } -.editable td:last-child span:hover { +.editable td:last-child:hover { color: red; } .editable { diff --git a/resources/report/js/script.js b/resources/report/js/script.js index eed43740..da7957c2 100644 --- a/resources/report/js/script.js +++ b/resources/report/js/script.js @@ -207,7 +207,7 @@ function clearMetadata(filename) { showMessageDialog('Clear Plugin Metadata', 'Are you sure you want to clear all existing user-added metadata from "' + filename + '"?'); } function removeTableRow(evt) { - evt.target.parentElement.parentElement.parentElement.removeChild(evt.target.parentElement.parentElement); + evt.target.parentElement.parentElement.removeChild(evt.target.parentElement); } function addNewTableRow(evt) { /* Create new row. */ @@ -422,7 +422,7 @@ function processButtonClick(evt) { } } } else if (action == 'show-menu') { - target = evt.target.nextSibling; + target = evt.target.nextElementSibling; if (isVisible(target)) { hideElement(target); } else { diff --git a/resources/report/report.html b/resources/report/report.html index c00777bf..6487157e 100644 --- a/resources/report/report.html +++ b/resources/report/report.html @@ -13,7 +13,7 @@ - +