Skip to content

Commit

Permalink
Auto reload harvest clients page
Browse files Browse the repository at this point in the history
  • Loading branch information
tcoupin committed Oct 30, 2018
1 parent 90618c2 commit 7240e7a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/webapp/harvestclients.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,11 @@
</p:commandLink>
</div>
</div>
<script type="text/javascript" jsf:rendered="#{harvestClient.harvestingNow or harvestClient.deleteInProgress}">
if (window.refreshTimer === undefined){
window.refreshTimer = setTimeout(function(){window.location.reload();},5000);
}
</script>
</p:column>
</p:dataTable>

Expand Down

0 comments on commit 7240e7a

Please sign in to comment.