CC-3192: Problem with web uploads for Airtime 2.0.0 beta2
- The bug was introduced with CC-3086. When file is large enough so the pluload use chucking, it would create different temp name for each chuck. - Fixed it by using unique_name feature on plupload
This commit is contained in:
parent
6d9e9f3459
commit
7c81fa29eb
2 changed files with 4 additions and 7 deletions
|
@ -6,6 +6,7 @@ $(document).ready(function() {
|
|||
runtimes : 'gears, html5, html4',
|
||||
url : '/Plupload/upload/format/json',
|
||||
chunk_size: '5mb',
|
||||
unique_names: 'true',
|
||||
multiple_queues : 'true',
|
||||
filters : [
|
||||
{title: "Audio Files", extensions: "ogg,mp3"}
|
||||
|
@ -52,7 +53,6 @@ $(document).ready(function() {
|
|||
uploadProgress = false;
|
||||
});
|
||||
|
||||
|
||||
$(window).bind('beforeunload', function(){
|
||||
if(uploadProgress){
|
||||
if(!confirm("You are currently uploading files.\nGoing to another screen will cancel the upload process.\nAre you sure you want to cancel the upload process and go to the screen you clicked on?")){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue