Skip to content

Commit

Permalink
Use the right method name when polling for results.
Browse files Browse the repository at this point in the history
close #208

Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>
  • Loading branch information
yeban committed Sep 20, 2015
1 parent 1d15f14 commit b81c119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/js/report.js
Expand Up @@ -1237,7 +1237,7 @@ var Report = React.createClass({
.complete(_.bind(function (jqXHR) {
switch (jqXHR.status) {
case 202:
setTimeout(fetch_and_show_results, 5000);
setTimeout(fetch_results, 5000);
break;
case 200:
this.setState(jqXHR.responseJSON);
Expand Down

0 comments on commit b81c119

Please sign in to comment.