aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js/files.js
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2013-08-21 14:58:28 +0200
committerJörn Friedrich Dreyer <jfd@butonic.de>2013-08-21 14:58:28 +0200
commitbf04daff82758fe9913c706eef07aed30c9b35ea (patch)
tree65cf7142c2c635373b03875628965fead2863439 /apps/files/js/files.js
parentf94e6036980644bdd6312e75a8973f2633cf5ff2 (diff)
downloadnextcloud-server-bf04daff82758fe9913c706eef07aed30c9b35ea.tar.gz
nextcloud-server-bf04daff82758fe9913c706eef07aed30c9b35ea.zip
architecture too complex
Diffstat (limited to 'apps/files/js/files.js')
-rw-r--r--apps/files/js/files.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/apps/files/js/files.js b/apps/files/js/files.js
index a907aeab1fc..53405c7fe7e 100644
--- a/apps/files/js/files.js
+++ b/apps/files/js/files.js
@@ -1,4 +1,3 @@
-var uploadingFiles = {};
Files={
updateMaxUploadFilesize:function(response) {
if(response == undefined) {
@@ -235,12 +234,6 @@ $(document).ready(function() {
return size;
};
- // warn user not to leave the page while upload is in progress
- $(window).bind('beforeunload', function(e) {
- if ($.assocArraySize(uploadingFiles) > 0)
- return t('files','File upload is in progress. Leaving the page now will cancel the upload.');
- });
-
//add multiply file upload attribute to all browsers except konqueror (which crashes when it's used)
if(navigator.userAgent.search(/konqueror/i)==-1){
$('#file_upload_start').attr('multiple','multiple')