projects
/
qcg-portal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gridftp: multiple fixes in handling and presenting errors
[qcg-portal.git]
/
filex
/
templates
/
filex
/
upload.js.html
diff --git
a/filex/templates/filex/upload.js.html
b/filex/templates/filex/upload.js.html
index
7b64658
..
678e4a8
100644
(file)
--- a/
filex/templates/filex/upload.js.html
+++ b/
filex/templates/filex/upload.js.html
@@
-158,7
+158,8
@@
});
$(window).on('beforeunload', function() {
- if ($('#files').fileupload('active'))
+ var $files = $('#files');
+ if ($files.length && $files.fileupload('active'))
return 'Nie zakończono przesyłania wszystkich plików, czy chcesz kontynuować?';
});