fix typo
Fix issue with the search js in sharing page where the user needed to check
twice a checkbox to assign a role after a search.