diff --git a/job.logic.php b/job.logic.php
index cef30fe..488f672 100644
--- a/job.logic.php
+++ b/job.logic.php
@@ -31,6 +31,7 @@ function job_submit(CRObject $job)
$task['memory'] = intval($task['memory']);
$task['gpu_number'] = intval($task['gpu_number']);
$task['gpu_memory'] = intval($task['gpu_memory']);
+ $task['is_ps'] = $task['is_ps'] == 1;
$tasks[$i] = $task;
}
$job->set('tasks', $tasks);
diff --git a/modals.php b/modals.php
index bf3da9e..7e720da 100755
--- a/modals.php
+++ b/modals.php
@@ -155,13 +155,20 @@
-
+
+
+
+
+
diff --git a/static/job.js b/static/job.js
index cf1c636..d969c94 100755
--- a/static/job.js
+++ b/static/job.js
@@ -57,6 +57,8 @@ function register_events_job() {
task['memory'] = $(this).find('.task-mem').eq(0).val();
task['gpu_number'] = $(this).find('.task-gpu-num').eq(0).val();
task['gpu_memory'] = $(this).find('.task-gpu-mem').eq(0).val();
+ task['is_ps'] = $(this).find('.task-is-ps').eq(0).val();
+ task['gpu_model'] = $(this).find('.task-gpu-model').eq(0).val();
tasks.push(task);
});