mediashelf/sufia — pull request #40 by cam156 (2013-01-11 19:15:28+00:00)
Title: Moved toggle button event subscribe

Moved toggle button event subscribe into document ready so it will not occur before the checkbox has been created.

This fixes the fact that clicking in the check box does not toggle the buttons, only clicking near them. This is becuase the check box was getting added after the click event for the add form was linked to the function.