Skip to content

Commit

Permalink
Add JS return statements to EML211EditorView
Browse files Browse the repository at this point in the history
Missing from the template methods

Issue #2565
  • Loading branch information
robyngit committed Nov 7, 2024
1 parent e8600ae commit edebf8c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/js/views/metadata/EML211EditorView.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<article class="editor-view">
Expand Down Expand Up @@ -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 `<div class="container">
Expand Down

0 comments on commit edebf8c

Please sign in to comment.