diff --git a/ajax.php b/ajax.php index aa8a8c7..b8127cd 100644 --- a/ajax.php +++ b/ajax.php @@ -76,6 +76,7 @@ switch ($action) { $job->set('workspace', cr_get_POST('workspace')); $job->set('priority', cr_get_POST('priority')); $job->set('run_before', cr_get_POST('run_before')); + $job->set('locality', cr_get_POST('locality')); $job->set('tasks', cr_get_POST('tasks')); $res = job_submit($job); break; diff --git a/job.logic.php b/job.logic.php index 488f672..84b0f78 100644 --- a/job.logic.php +++ b/job.logic.php @@ -38,6 +38,7 @@ function job_submit(CRObject $job) $job->set('workspace', $job->get('workspace')); $job->set('group', $job->get('virtual_cluster')); $job->set('priority', $job->getInt('priority')); + $job->set('locality', $job->getInt('locality')); $job->set('run_before', $job->getInt('run_before')); $job->set('created_by', $job->getInt('created_by')); $data['job'] = json_encode($job); diff --git a/modals.php b/modals.php index 13b2fce..1445d34 100755 --- a/modals.php +++ b/modals.php @@ -170,7 +170,7 @@