2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-28 11:36:44 +00:00

Fixed typo

This commit is contained in:
Maksim Stojkovic 2022-05-20 18:28:02 +10:00
parent f2a3b4ab1f
commit c6b9585c02

View File

@ -99,7 +99,7 @@ function createNewModal(options={}) {
$(modal_name).focus(); $(modal_name).focus();
if (options.hideCloseButton) { if (options.hideCloseButton) {
$(modal_name).find('#modal-form-cancel').hide(); $(modal_name).find('#modal-form-close').hide();
} }
if (options.preventSubmit || options.hideSubmitButton) { if (options.preventSubmit || options.hideSubmitButton) {