##// END OF EJS Templates
repo: when creating repos if we don't get JSON results, stop execution at refresh.
marcink -
r75:110fb2a4 default
parent child Browse files
Show More
@@ -54,9 +54,8 b''
54 setTimeout(function(){
54 setTimeout(function () {
55 // we might have a backend problem, try dashboard again
55 // we might have a backend problem, try dashboard again
56 window.location = "${h.url('summary_home', repo_name = c.repo)}";
56 window.location = "${h.url('summary_home', repo_name = c.repo)}";
57 }, 1000);
57 }, 3000);
58 }
58 } else {
59
60 if (skipCheck || jsonResponse.result === true) {
59 if (skipCheck || jsonResponse.result === true) {
61 // success, means go to dashboard
60 // success, means go to dashboard
62 window.location = "${h.url('summary_home', repo_name = c.repo)}";
61 window.location = "${h.url('summary_home', repo_name = c.repo)}";
@@ -65,6 +64,7 b''
65 setTimeout(worker, 1000);
64 setTimeout(worker, 1000);
66 }
65 }
67 }
66 }
67 }
68 else {
68 else {
69 window.location = "${h.url('home')}";
69 window.location = "${h.url('home')}";
70 }
70 }
General Comments 0
You need to be logged in to leave comments. Login now