From edebf8c00b2b6ca59eddf9dd55b1f4b1fe298fc4 Mon Sep 17 00:00:00 2001 From: robyngit Date: Thu, 7 Nov 2024 13:48:10 -0500 Subject: [PATCH] Add JS return statements to EML211EditorView Missing from the template methods Issue #2565 --- src/js/views/metadata/EML211EditorView.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/js/views/metadata/EML211EditorView.js b/src/js/views/metadata/EML211EditorView.js index 3cedc9c6b..ada94708d 100644 --- a/src/js/views/metadata/EML211EditorView.js +++ b/src/js/views/metadata/EML211EditorView.js @@ -49,6 +49,7 @@ define([ * @param {string} attrs.loading - The loading message to display * @param {string} attrs.submitButtonText - The text to display on the * submit button + * @returns {string} The HTML template for the editor view */ template(attrs) { return `
@@ -79,6 +80,7 @@ define([ * @param {string} attrs.messageText - The message to display * @param {string} attrs.viewURL - The URL to view the dataset * @param {string} attrs.buttonText - The text to display on the button + * @returns {string} The HTML template for the submit message */ editorSubmitMessageTemplate(attrs) { return `