| @@ -57,9 +57,9 @@ | ||
| 57 | 57 | } |
| 58 | 58 | // Could be other errors but we"ll treat them the same - assume that we can't find the signal and call the ajax method |
| 59 | 59 | fkey404 = true; |
| 60 | 60 | statusok= true; |
| 61 | - setTimeout(checkStatus,500); | |
| 61 | + setTimeout(checkStatus,10000); | |
| 62 | 62 | }, |
| 63 | 63 | "method": "GET", // We must use GET because nginx will return 405 for POST to static files |
| 64 | 64 | "success": function (result,statustext, xhr) { |
| 65 | 65 | statusok=result*1; |
| @@ -73,9 +73,9 @@ | ||
| 73 | 73 | }, |
| 74 | 74 | "timeout": 3000 |
| 75 | 75 | }); |
| 76 | 76 | } else { |
| 77 | - // This happens when we've waited for a minute or moe, if we don't have a key and so forth. | |
| 77 | + // This happens when we've waited for a minute or moe, if we don't have a signal file key and so forth. | |
| 78 | 78 | statusok=1; |
| 79 | 79 | setTimeout(checkStatus,500); |
| 80 | 80 | } |
| 81 | 81 | }; |
| @@ -130,9 +130,8 @@ | ||
| 130 | 130 | // If provided, continue to custom 'order failed' page IOK 2018-12-04 |
| 131 | 131 | var next = jQuery("#continueToOrderFailed").attr("href"); |
| 132 | 132 | if (next != '') { |
| 133 | 133 | setTimeout(function () { |
| 134 | - console.log("Redirecting to " +next ); | |
| 135 | 134 | window.location.href = next; |
| 136 | 135 | }, 500); |
| 137 | 136 | } |
| 138 | 137 | |
| @@ -177,4 +176,5 @@ | ||
| 177 | 176 | |
| 178 | 177 | checkStatusReady(); |
| 179 | 178 | |
| 180 | 179 | }); |
| 180 | + | |