mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
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) {
|
||||
modalSetButtonText(response.submit_label);
|
||||
modalSetButtonText(modal, String(response.submit_label));
|
||||
}
|
||||
|
||||
if (response.html_form) {
|
||||
|
Loading…
Reference in New Issue
Block a user