aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src')
-rw-r--r--server/sonar-web/src/main/js/components/controls/GlobalMessages.js1
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>