mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-02 15:38:15 +00:00
Change share dialog (#4245)
* fix share dialog dropdown memu style * fix some warnings
This commit is contained in:
@@ -68,11 +68,11 @@ class MainSideNav extends React.Component {
|
||||
if (window.uploader &&
|
||||
window.uploader.isUploadProgressDialogShow &&
|
||||
window.uploader.totalProgress !== 100) {
|
||||
if (!window.confirm(gettext('A file is being uploaded. Are you sure you want to leave this page?'))) {
|
||||
e.preventDefault();
|
||||
return false;
|
||||
}
|
||||
window.uploader.isUploadProgressDialogShow = false;
|
||||
if (!window.confirm(gettext('A file is being uploaded. Are you sure you want to leave this page?'))) {
|
||||
e.preventDefault();
|
||||
return false;
|
||||
}
|
||||
window.uploader.isUploadProgressDialogShow = false;
|
||||
}
|
||||
this.props.tabItemClick(param, id);
|
||||
}
|
||||
|
Reference in New Issue
Block a user