Fixes in pastafari
This commit is contained in:
parent
ff93c78831
commit
b4d3f1807f
3 changed files with 87 additions and 12 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue