mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-15 11:35:41 +00:00
Fix display of custom button text
- Missing first parameter (modal object) to function call
This commit is contained in:
@ -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) {
|
||||||
|
Reference in New Issue
Block a user