From a252ad8ad419692b5d7f3ff2b9656106ba0b2f0b Mon Sep 17 00:00:00 2001 From: William Desportes Date: Mon, 15 Mar 2021 02:01:59 +0100 Subject: [PATCH] Ref #16602 - Add an unique ID for the ignore button Signed-off-by: William Desportes --- js/src/error_report.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/src/error_report.js b/js/src/error_report.js index b704474b07..e13462e8a5 100644 --- a/js/src/error_report.js +++ b/js/src/error_report.js @@ -137,7 +137,7 @@ var ErrorReport = { buttonHtml += Functions.getImage('s_cog', Messages.strChangeReportSettings); buttonHtml += ''; - buttonHtml += ''; + buttonHtml += ''; buttonHtml += Functions.getImage('b_close', Messages.strIgnore); buttonHtml += ''; @@ -146,7 +146,7 @@ var ErrorReport = { $div.append($buttons); $div.appendTo(document.body); $(document).on('click', '#show_error_report_' + key, ErrorReport.createReportDialog); - $(document).on('click', '#ignore_error', ErrorReport.removeErrorNotification); + $(document).on('click', '#ignore_error_' + key, ErrorReport.removeErrorNotification); }, /** * Removes the notification if it was displayed before