1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 23:20:51 +00:00

Merge branch '6.3'

This commit is contained in:
zhengxie
2018-12-20 16:11:59 +08:00
7 changed files with 125 additions and 19 deletions

View File

@@ -106,6 +106,14 @@ define([
}
});
// confirm leaving the page when file is uploading
window.onbeforeunload = function(e) {
if ($('#upload-file-dialog').is(':visible') &&
$('#upload-file-dialog .status').text() == window.fileuploading) {
return '';
}
};
},
renderMainCon: function() {