diff options
author | Grégoire Aubert <gregoire.aubert@sonarsource.com> | 2017-04-28 14:16:13 +0200 |
---|---|---|
committer | Grégoire Aubert <gregaubert@users.noreply.github.com> | 2017-05-01 16:23:17 +0200 |
commit | 50703788b24aae6096fff89bb4f6f3ced2321029 (patch) | |
tree | 7513c32e931e8ee3b4b606d8f62b93e18cc34e12 /server/sonar-web/src | |
parent | 4bf1aaf409c0b22afb7fe4a9ae1bf8a4019452d7 (diff) | |
download | sonarqube-50703788b24aae6096fff89bb4f6f3ced2321029.tar.gz sonarqube-50703788b24aae6096fff89bb4f6f3ced2321029.zip |
SONAR-8854 Prevent ENTER key from closing the error popup
Diffstat (limited to 'server/sonar-web/src')
-rw-r--r-- | server/sonar-web/src/main/js/components/controls/GlobalMessages.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/components/controls/GlobalMessages.js b/server/sonar-web/src/main/js/components/controls/GlobalMessages.js index cad1d5df977..10f41ddad15 100644 --- a/server/sonar-web/src/main/js/components/controls/GlobalMessages.js +++ b/server/sonar-web/src/main/js/components/controls/GlobalMessages.js @@ -43,6 +43,7 @@ export default class GlobalMessages extends React.PureComponent { {message.message} <button className="process-spinner-close" + type="button" onClick={() => this.props.closeGlobalMessage(message.id)}> <i className="icon-close" /> </button> |