Commit 028cbd19 authored by Tristan Cavelier's avatar Tristan Cavelier

Fix bug: wait status now can use job manager correctly

parent fd87000b
...@@ -705,7 +705,7 @@ var waitStatus = function(spec, my) { ...@@ -705,7 +705,7 @@ var waitStatus = function(spec, my) {
priv.refreshJobIdArray = function() { priv.refreshJobIdArray = function() {
var tmp_job_id_array = [], i; var tmp_job_id_array = [], i;
for (i = 0; i < priv.job_id_array.length; i+= 1) { for (i = 0; i < priv.job_id_array.length; i+= 1) {
if (my.jobManager.jobIdExists(priv.job_id_array[i])) { if (jobManager.jobIdExists(priv.job_id_array[i])) {
tmp_job_id_array.push(priv.job_id_array[i]); tmp_job_id_array.push(priv.job_id_array[i]);
} }
} }
......
This diff is collapsed.
...@@ -24,7 +24,7 @@ var waitStatus = function(spec, my) { ...@@ -24,7 +24,7 @@ var waitStatus = function(spec, my) {
priv.refreshJobIdArray = function() { priv.refreshJobIdArray = function() {
var tmp_job_id_array = [], i; var tmp_job_id_array = [], i;
for (i = 0; i < priv.job_id_array.length; i+= 1) { for (i = 0; i < priv.job_id_array.length; i+= 1) {
if (my.jobManager.jobIdExists(priv.job_id_array[i])) { if (jobManager.jobIdExists(priv.job_id_array[i])) {
tmp_job_id_array.push(priv.job_id_array[i]); tmp_job_id_array.push(priv.job_id_array[i]);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment