Skip to content
Snippets Groups Projects
Commit 39db6baa authored by Jared Hancock's avatar Jared Hancock
Browse files

forms: Don't show [loading] and delete confirm together

parent ae5e1382
No related branches found
No related tags found
No related merge requests found
......@@ -266,9 +266,10 @@ $info=Format::htmlchars(($errors && $_POST)?$_POST:$info);
</div>
<script type="text/javascript">
$('form.manage-form').on('submit.inline', function() {
$('form.manage-form').on('submit.inline', function(e) {
var formObj = this, deleted = $('input.delete-box:checked', this);
if (deleted.length) {
e.stopImmediatePropagation();
$('#overlay').show();
$('#deleted-fields').empty();
deleted.each(function(i, e) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment