Fixed issue #828: disable the commit button if there's no comment entered