4836: Trigger Workbench infinite scroll load on tab show.
authorBrett Smith <brett@curoverse.com>
Fri, 19 Dec 2014 22:40:13 +0000 (17:40 -0500)
committerBrett Smith <brett@curoverse.com>
Tue, 6 Jan 2015 17:09:23 +0000 (12:09 -0500)
commitedf4ea276c364012127de71a29bad6bf23b1f5da
tree326abe49359bace48b19cbef08f1a4daec32a73f
parent9013faf477b5862cb915f1d80148daffa795cc89
4836: Trigger Workbench infinite scroll load on tab show.

If an infinite scroller is in the first tab of a show page, but the
user is going to a different tab, we'll queue up the first event
to load data for the container, but when it fires the container won't
be visible so it will decline to load anything.  Then you can only get
data to load if you resize the window.

Fire a scroll event when a new tab is shown, to spur the infinite
scroller to load data as appropriate.
apps/workbench/app/assets/javascripts/infinite_scroll.js
apps/workbench/test/integration/projects_test.rb
apps/workbench/test/integration_helper.rb