adsabs/bumblebee — pull request #28 by aholachek (2014-05-19 13:50:25+00:00)
Title: made small display changes

Hi Roman,
As I was studying the changes you made to the results widget I just updated the templates and added a button to show/hide all snippets based on feedback from Thursday's meeting. There are a few things I wanted to ask:
1. In the function onAllInternalEvents, the first conditional is
if (ev == 'composite:rendered') {
this.view.disableLoadMore();
}
I am not sure what this is supposed to respond to. Also, I thought that in any case the composite render event would look like this: "composite:collection:rendered" .

2. I noticed that you wrote that for disableLoadMore, it is not enough to just hide the load-more button. Why? Would it be better to remove the button from the dom and add it later if necessary?