##// 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 54 setTimeout(function(){
55 55 // we might have a backend problem, try dashboard again
56 56 window.location = "${h.url('summary_home', repo_name = c.repo)}";
57 }, 1000);
58 }
59
57 }, 3000);
58 } else {
60 59 if (skipCheck || jsonResponse.result === true) {
61 60 // success, means go to dashboard
62 61 window.location = "${h.url('summary_home', repo_name = c.repo)}";
@@ -65,6 +64,7 b''
65 64 setTimeout(worker, 1000);
66 65 }
67 66 }
67 }
68 68 else {
69 69 window.location = "${h.url('home')}";
70 70 }
General Comments 0
You need to be logged in to leave comments. Login now