x
This commit is contained in:
File diff suppressed because one or more lines are too long
@ -42,6 +42,11 @@ $(document).ready(function() {
|
|||||||
$('.upload-progress', $(li)).show();
|
$('.upload-progress', $(li)).show();
|
||||||
$('.upload-progress .bar', $(li)).css('width', pc + "%");
|
$('.upload-progress .bar', $(li)).css('width', pc + "%");
|
||||||
$('.upload-progress span ').empty().append(pc + "%");
|
$('.upload-progress span ').empty().append(pc + "%");
|
||||||
|
|
||||||
|
|
||||||
|
$(window).bind('beforeunload', function(){
|
||||||
|
return 'File are still uploading';
|
||||||
|
});
|
||||||
}, false);
|
}, false);
|
||||||
|
|
||||||
xhr.onreadystatechange = function(e) {
|
xhr.onreadystatechange = function(e) {
|
||||||
|
Reference in New Issue
Block a user