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:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user