some modal changes, adding memory leak to fix stop/drop issue

This commit is contained in:
2018-03-05 22:48:16 -05:00
parent ca1ed925d3
commit a56a507ca2
6 changed files with 26 additions and 28 deletions

View File

@@ -93,7 +93,6 @@ const inlineStyle = {
}
render() {
//const { classes, onRequestClose, handleRequestClose, handleSubmit } = this.props;
if (this.props.RSSList.length > 0 && this.state.showList == false){
console.log("Setting list to show....")
this.setState({showList: true})

View File

@@ -74,7 +74,7 @@ export default class addTorrentPopup extends React.Component {
}
render() {
const { classes, onRequestClose, handleRequestClose, handleSubmit } = this.props;
const { classes, onClose, handleRequestClose, handleSubmit } = this.props;
return (
<div style={inlineStyle}>
<IconButton onClick={this.handleClickOpen} color="primary" data-tip="Add Magnet Link" style={button} centerRipple aria-label="Add Magnet Link" >

View File

@@ -86,7 +86,7 @@ export default class Login extends React.Component {
}
render() {
const { classes, onRequestClose, handleRequestClose, handleSubmit } = this.props;
const { classes, onClose, handleRequestClose, handleSubmit } = this.props;
return (
<Dialog open={this.state.open} onClose={this.handleRequestClose} ignoreBackdropClick={true} disableBackdrop={true}>
<DialogTitle>Login Here</DialogTitle>