1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-10 11:21:29 +00:00

Sharing dialog improvements (#3449)

This commit is contained in:
zxj96
2019-05-13 18:36:58 +08:00
committed by Daniel Pan
parent 31d39b6fa4
commit 8d6dfab07a
3 changed files with 36 additions and 9 deletions

View File

@@ -44,7 +44,7 @@ class GenerateUploadLink extends React.Component {
toaster.danger(
<SessionExpiredTip />,
{id: 'session_expired', duration: 3600}
)
);
this.props.closeShareDialog();
}
});
@@ -153,9 +153,6 @@ class GenerateUploadLink extends React.Component {
}
return (
<Form className="generate-upload-link">
<FormGroup>
<FormText className="tip">{gettext('You can share the generated link to others and then they can upload files to this directory via the link.')}</FormText>
</FormGroup>
<FormGroup check>
<Label check>
<Input type="checkbox" onChange={this.addPassword}/>{' '}{gettext('Add password protection')}