mirror of
https://github.com/haiwen/seahub.git
synced 2025-04-28 03:10:45 +00:00
gettext('A file is being uploaded. Are you...')
This commit is contained in:
parent
e1b9e27503
commit
38fcedbc2d
@ -133,7 +133,7 @@ define([
|
||||
if (this.currentView == this.dirView) {
|
||||
if ($('#upload-file-dialog').is(':visible') &&
|
||||
$('#upload-file-dialog .status').text() == window.fileuploading) {
|
||||
if (!window.confirm('A file is being uploaded. Are you sure you want to leave this page?')) {
|
||||
if (!window.confirm(gettext('A file is being uploaded. Are you sure you want to leave this page?'))) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user