Skip to content

Commit

Permalink
Disable close modal on click by mask
Browse files Browse the repository at this point in the history
  • Loading branch information
sheldhur committed Aug 23, 2017
1 parent 5854977 commit b57df0f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/components/dataSet/DataSetImport.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ class DataSetOptions extends Component {
title={titleImport}
visible={showModal}
onCancel={this.handlerCancelClick}
maskClosable={false}
footer={[
<Button key="cancel" size="large" onClick={this.handlerCancelClick}>Cancel</Button>
]}
Expand Down
1 change: 1 addition & 0 deletions app/components/settings/Settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,7 @@ class Settings extends Component {
onCancel={this.handlerReset}
onOk={this.handlerSave}
visible={this.state.modalVisible}
maskClosable={false}
>
<Form>
<Tabs tabPosition="left" defaultActiveKey="1">
Expand Down
1 change: 1 addition & 0 deletions app/components/stations/StationsImport.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ class StationImport extends Component {
title={titleImport}
visible={showModal}
onCancel={this.handlerCancelClick}
maskClosable={false}
footer={[
<Button key="cancel" size="large" onClick={this.handlerCancelClick}>Cancel</Button>
]}
Expand Down

0 comments on commit b57df0f

Please sign in to comment.