Added support for call make_task for other scripts
This commit is contained in:
parent
e1710bf434
commit
c56366923f
6 changed files with 108 additions and 11 deletions
|
|
@ -153,7 +153,12 @@ $(document).ready(function () {
|
|||
else {
|
||||
|
||||
//Make a normal submit to url_task for make_task form
|
||||
if($('#'+task.replace(/\//g, '_')+'_form').val()==1) {
|
||||
|
||||
//modules/pastafari2/tasks/servers/databases/mysql/standalone_mysql.py
|
||||
//alert($('#modules_pastafari2_tasks_servers_databases_mysql_standalone_mysql.py_form').val());
|
||||
//alert(document.getElementById(task.replace(/\//g, '_')+'_form').value);
|
||||
//if($('#'+task.replace(/\//g, '_')+'_form').val()==1) {
|
||||
if(document.getElementById(task.replace(/\//g, '_')+'_form').value==1) {
|
||||
|
||||
var form=$("<form/>", { 'action': url_task, 'method': 'POST'});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue