Commit 294b7c17 authored by Maxime Chaillet's avatar Maxime Chaillet

update the log message. It fixes #158.

parent c39998a3
......@@ -316,8 +316,6 @@ div.collapsedEventPanel-heading:hover {
}
}
.userMessageOverlayClass {}
.userMessageModalClass {
padding: unset;
}
......
......@@ -74,7 +74,7 @@ class LogbookContainer extends React.Component {
if (this.isAppProperlyConfigured()) {
return (
<div style={{ marginBottom: '40px' }}>
<OverlayBox open={this.state.errorMessage} onClose={() => { this.setState({ errorMessage: null }) }} classNames={{ overlay: 'userMessageOverlayClass', modal: 'userMessageModalClass', closeButton:'userMessageCloseButton' }}>
<OverlayBox open={this.state.errorMessage} onClose={() => { this.setState({ errorMessage: null }) }} classNames={{ modal: 'userMessageModalClass', closeButton:'userMessageCloseButton' }}>
<UserMessage type={ERROR_MESSAGE_TYPE} message={this.state.errorMessage} />
</OverlayBox>
......@@ -177,7 +177,7 @@ class LogbookContainer extends React.Component {
onEventClicked = (event) => {
if (this.state.eventBeingEdited && this.state.eventBeingEdited != event) {
this.setState({ errorMessage: 'Action refused. Please save or cancel the log currently edited.' });
this.setState({ errorMessage: 'Action refused. Please save or cancel the log which is currently being edited.' });
}
this.setState({ eventBeingEdited: event });
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment