Browse Source

x

tags/v1.0.0
Remco 9 years ago
parent
commit
5661baf0fc
2 changed files with 6 additions and 1 deletions
  1. +1
    -1
      transfersh-server/static/scripts/main.js
  2. +5
    -0
      transfersh-web/scripts/main.js

+ 1
- 1
transfersh-server/static/scripts/main.js
File diff suppressed because it is too large
View File


+ 5
- 0
transfersh-web/scripts/main.js 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) {


Loading…
Cancel
Save