mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-20 02:48:51 +00:00
[seafile-js] updated the version
This commit is contained in:
@@ -103,7 +103,7 @@ class ShareLinkPanel extends React.Component {
|
||||
sharedLinkInfo: null,
|
||||
shareLinks: shareLinks.filter(item => item.token !== sharedLinkInfo.token)
|
||||
});
|
||||
toaster.success(gettext('The link is deleted.'));
|
||||
toaster.success(gettext('The link was deleted.'));
|
||||
}).catch((error) => {
|
||||
let errMessage = Utils.getErrorMsg(error);
|
||||
toaster.danger(errMessage);
|
||||
|
@@ -157,7 +157,7 @@ class LinkCreation extends React.Component {
|
||||
}
|
||||
}
|
||||
|
||||
if (isShowPasswordInput) {
|
||||
if (type == 'single' && isShowPasswordInput) {
|
||||
if (password.length === 0) {
|
||||
this.setState({errorInfo: gettext('Please enter a password.')});
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user