diff --git a/resources/report/js/custom.js b/resources/report/js/custom.js index 58c45ff2..8f785a26 100644 --- a/resources/report/js/custom.js +++ b/resources/report/js/custom.js @@ -380,7 +380,7 @@ var messageDialogProto = Object.create(HTMLDialogElement.prototype, { showModal: { /* A type of 'error' or 'info' produces an 'OK'-only dialog box. */ - value: function(type, title, text, onClose) { + value: function(type, title, text) { this.querySelector('h1').textContent = title; this.querySelector('p').textContent = text;