FIX JS issue when enabling save buttons for when the content has changed. Current implementation triggers a 'Object is not a function' error. New implementation follows the same logic as in the onmatch function, and uses .button() as the function
Merge pull request #945 from patbolo/save-buttons-status-issue

FIX JS issue when enabling save buttons for when the content has changed...