Remove duplicate XHR request when requesting new pipeline page
When a user clicked on another page in the pipeline page, the following would happen:
- PipelinesService.getPipelines() would be called to fetch the new page
- In the success handler, Poll.restart() would be called
- This would invoke Poll.makeRequest(), which would fire off a new request.
To fix this, we introduce a enable(), which will:
- Update the request data accordingly
- Clear the old timeout if necessary and start a new timer