mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 20:16:44 +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) {
|
if (response.submit_label) {
|
||||||
modalSetButtonText(response.submit_label);
|
modalSetButtonText(modal, String(response.submit_label));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (response.html_form) {
|
if (response.html_form) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user