Add the "onclick" event to the "select all" checkbox (see #6314)