From 0bb42be000a6d7bbcacf64ae2e382d2bab698c1e Mon Sep 17 00:00:00 2001 From: jonsowman Date: Sun, 13 Jun 2010 16:55:09 +0100 Subject: [PATCH] JSONprogress timeout to 1000 - required for worldwide use --- predict/js/pred.js | 2 +- predict/sites.json | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/predict/js/pred.js b/predict/js/pred.js index 88b8ca4..05c9605 100644 --- a/predict/js/pred.js +++ b/predict/js/pred.js @@ -173,7 +173,7 @@ function getJSONProgress(pred_uuid) { $.ajax({ url:"preds/"+pred_uuid+"/progress.json", dataType:'json', - timeout: 500, + timeout: 1000, // complete: function(data, httpstatus) { // appendDebug(httpstatus); // }, diff --git a/predict/sites.json b/predict/sites.json index 98a3e19..a350bba 100644 --- a/predict/sites.json +++ b/predict/sites.json @@ -33,5 +33,10 @@ "latitude" : 53.8997, "longitude" : -1.3629, "altitude" : 0 + }, + "Wistow": { + "altitude" : 0, + "latitude" : -35.1217, + "longitude" : 138.8503 } }