corrected the JSON parameters in getJSONProgress()

pull/73/head
jonsowman 2010-05-28 23:52:48 +01:00
rodzic e72781f99c
commit 73e61124d6
1 zmienionych plików z 2 dodań i 4 usunięć

Wyświetl plik

@ -66,8 +66,6 @@ function verifyModel($pred_model, $software_available) {
foreach($pred_model as $idx => $value) {
if ($idx == "software") {
if (!in_array($value, $software_available)) return false;
} else if ($idx == "uuid") {
} else {
if (!is_numeric($value)) {
return false;
@ -182,9 +180,9 @@ function getJSONProgress(pred_uuid) {
if ( progress.pred_complete == true ) { // pred has finished
alert("ALL DONE"); // debug
clearInterval(ajaxEventHandle); // clear calling this function
} else if ( progress.pred_started != true ) {
} else if ( progress.pred_running != true ) {
appendDebug("Predictor not yet running...");
} else if ( progress.pred_started == true ) {
} else if ( progress.pred_running == true ) {
appendDebug("Predictor currently running");
}
} else {