mirror of https://github.com/vector-im/riot-web
s/hasCloseX/hasCloseButton/
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/21833/head
parent
90a3fedbef
commit
e400053b69
|
@ -837,7 +837,7 @@ export const CommandMap = {
|
||||||
}
|
}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>,
|
</table>,
|
||||||
hasCloseX: true,
|
hasCloseButton: true,
|
||||||
});
|
});
|
||||||
return success();
|
return success();
|
||||||
},
|
},
|
||||||
|
|
|
@ -28,14 +28,14 @@ export default React.createClass({
|
||||||
description: PropTypes.node,
|
description: PropTypes.node,
|
||||||
button: PropTypes.string,
|
button: PropTypes.string,
|
||||||
onFinished: PropTypes.func,
|
onFinished: PropTypes.func,
|
||||||
hasCloseX: PropTypes.bool,
|
hasCloseButton: PropTypes.bool,
|
||||||
},
|
},
|
||||||
|
|
||||||
getDefaultProps: function() {
|
getDefaultProps: function() {
|
||||||
return {
|
return {
|
||||||
title: '',
|
title: '',
|
||||||
description: '',
|
description: '',
|
||||||
hasCloseX: false,
|
hasCloseButton: false,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@ export default React.createClass({
|
||||||
<BaseDialog className="mx_InfoDialog" onFinished={this.props.onFinished}
|
<BaseDialog className="mx_InfoDialog" onFinished={this.props.onFinished}
|
||||||
title={this.props.title}
|
title={this.props.title}
|
||||||
contentId='mx_Dialog_content'
|
contentId='mx_Dialog_content'
|
||||||
hasCancel={this.props.hasCloseX}
|
hasCancel={this.props.hasCloseButton}
|
||||||
>
|
>
|
||||||
<div className="mx_Dialog_content" id="mx_Dialog_content">
|
<div className="mx_Dialog_content" id="mx_Dialog_content">
|
||||||
{ this.props.description }
|
{ this.props.description }
|
||||||
|
|
Loading…
Reference in New Issue