diff --git a/static/js/ajax.js b/static/js/ajax.js index c236ea9..28d9525 100644 --- a/static/js/ajax.js +++ b/static/js/ajax.js @@ -152,7 +152,7 @@ function ajaxRequest(htmlElement, customHandler, placement, url) { } if (typeof responseObject.type != 'undefined') { - if (responseObject.type == 'success') { + if (responseObject.type == 'success' && placement == 'inside') { formElement.submit(); } }