Skip to content

Commit

Permalink
Merge branch 'bug/ui-not-updating'
Browse files Browse the repository at this point in the history
* bug/ui-not-updating:
  Fixed issue preventing polling for new jobs. Closes #192
  • Loading branch information
drudge committed Mar 25, 2013
2 parents 5fc857a + 4ed74d9 commit 353acbb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/http/public/javascripts/main.js
Expand Up @@ -158,6 +158,7 @@ function pollForJobs(state, ms) {
refreshJobs(state, function(){
infiniteScroll();
if(!pollForJobs.timer) pollForJobs.timer = setTimeout(function(){
delete pollForJobs.timer;
pollForJobs(state, ms);
}, ms);
});
Expand Down

0 comments on commit 353acbb

Please sign in to comment.