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

[dir view] show 'leaving page' confirm popup when a file is uploading (#2612)

This commit is contained in:
llj
2018-12-19 14:49:25 +08:00
committed by Daniel Pan
parent 34f13fc40d
commit f22a6715a3
3 changed files with 61 additions and 14 deletions

View File

@@ -49,6 +49,8 @@ define([
'canceled': gettext("File Upload canceled"),
'failed': gettext("File Upload failed")
};
// for the leaving page confirm popup
window.fileuploading = fu_status.uploading;
var uploaded_files = [];
var updated_files = [];