diff --git a/InvenTree/static/script/modal_form.js b/InvenTree/static/script/modal_form.js index bc996fd607..2b61bc757f 100644 --- a/InvenTree/static/script/modal_form.js +++ b/InvenTree/static/script/modal_form.js @@ -155,6 +155,9 @@ function handleModalForm(modal, url, options) { error: function(xhr, ajaxOptions, thrownError) { alert('Error posting form data:\n' + thrownError); $(modal).modal('hide'); + }, + complete: function(xhr) { + //TODO } }); });