gitlabhq/gitlabhq — pull request #7662 by Razer6 (2014-09-01 15:40:15+00:00)
Title: [UX] Disable buttons if form is empty

#### What does this PR do?

This PR disables buttons if form input is empty on various places:

* Do not search on network graph for empty SHA
* Do not remove file when no commit message
* For a new file, both commit message and filename need to be entered

Currently, on all these places a stale UI happens because these actions are not allowed