Fix display of custom button text

- Missing first parameter (modal object) to function call
This commit is contained in:
Oliver Walters 2019-04-13 21:20:02 +10:00
parent f44ba1c011
commit 0e7472dabc

View File

@ -257,7 +257,7 @@ function launchModalForm(url, options = {}) {
}
if (response.submit_label) {
modalSetButtonText(response.submit_label);
modalSetButtonText(modal, String(response.submit_label));
}
if (response.html_form) {