Using jQuery's .prop() to set the disabled property.
Also changing text of edit button.
Completed backend functionality for sharing records.
Reloading page to display flash after sharing settings have been updated.