gtn/exaport — pull request #9 by abuzakaria (2014-11-28 10:18:48+00:00)
Title: Improve performance when building the share porfolio user list

For a large number of users in many courses, the userlist loading is super slow and chrome prompts to kill pages. The 'each' block for 'shareusers' checkbox is the reason behind it. The 'each' block is removed.
A new block is added which while loading the page at start checks if all users are selected and then check the course's share all checkbox depending on this, and adjust the notify button too. This improves the performance if there is a large number of users.