Fixes in pastafari

This commit is contained in:
Antonio de la Rosa 2022-04-25 01:25:03 +02:00
parent ff93c78831
commit b4d3f1807f
3 changed files with 87 additions and 12 deletions

View file

@ -159,6 +159,23 @@ $(document).ready(function () {
return false;
}
else {
//Make a normal submit to url_task for make_task form
var form=$("<form/>", { 'action': url_task, 'method': 'POST'});
form.append( $('<input>', {'type': 'hidden', 'name': 'ids', 'value': JSON.stringify(server_ids)}) )
form.append( $('<input>', {'type': 'hidden', 'name': 'task', 'value': task}) )
$("body").append(form);
form.submit();
return false;
}
}
$('#layer_loading').show();