1
0
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:
lian 2018-12-29 10:28:49 +08:00
parent e1b9e27503
commit 38fcedbc2d

View File

@ -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;
}
}