This commit is contained in:
Remco 2014-11-11 17:37:06 +01:00
commit 5661baf0fc
2 changed files with 6 additions and 1 deletions

File diff suppressed because one or more lines are too long

View file

@ -42,6 +42,11 @@ $(document).ready(function() {
$('.upload-progress', $(li)).show();
$('.upload-progress .bar', $(li)).css('width', pc + "%");
$('.upload-progress span ').empty().append(pc + "%");
$(window).bind('beforeunload', function(){
return 'File are still uploading';
});
}, false);
xhr.onreadystatechange = function(e) {