Fix display of custom button text
- Missing first parameter (modal object) to function call
This commit is contained in:
parent
f44ba1c011
commit
0e7472dabc
|
|
@ -257,7 +257,7 @@ function launchModalForm(url, options = {}) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (response.submit_label) {
|
if (response.submit_label) {
|
||||||
modalSetButtonText(response.submit_label);
|
modalSetButtonText(modal, String(response.submit_label));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (response.html_form) {
|
if (response.html_form) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue