diff --git a/ajax.php b/ajax.php index f92269b..5618e00 100644 --- a/ajax.php +++ b/ajax.php @@ -101,7 +101,7 @@ switch ($action) { case 'job_predict_req': $job = new CRObject(); - $job->set('name', cr_get_POST('name', '') . '-' . time() . Random::randomInt(1000, 9999)); + $job->set('name', cr_get_POST('name', 'jobName')); $job->set('virtual_cluster', cr_get_POST('cluster')); $job->set('workspace', cr_get_POST('workspace')); $job->set('priority', cr_get_POST('priority')); diff --git a/static/job.js b/static/job.js index 0d2a62e..be4a24c 100755 --- a/static/job.js +++ b/static/job.js @@ -252,7 +252,8 @@ function load_jobs(scope) { title: 'Started At', align: 'center', valign: 'middle', - formatter: timeFormatter + formatter: timeFormatter, + visible: false }, { field: 'updated_at', title: 'Updated At',