mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Make sure that print label dialog has a submit button. (#4240)
Steps to reproduce problem: Go to a screen that has a modal without a submit button like "Show QR code" of the Sublocation overview. Close the QR code modal and after that go to the "Print label" option. It will no longer show a submit button.
This commit is contained in:
parent
c78e712a16
commit
2a6440843f
@ -321,6 +321,7 @@ function selectLabel(labels, items, options={}) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
modalEnable(modal, true);
|
modalEnable(modal, true);
|
||||||
|
modalShowSubmitButton(modal, true);
|
||||||
modalSetTitle(modal, '{% trans "Select Label Template" %}');
|
modalSetTitle(modal, '{% trans "Select Label Template" %}');
|
||||||
modalSetContent(modal, html);
|
modalSetContent(modal, html);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user