CC-2290:Clicking on another tab whilst uplaoding track kills

additional fix
- when user adds file and removes file, and the list is empty,
there is no more alert.
This commit is contained in:
james 2011-05-31 12:26:30 -04:00
parent 1f02ba813d
commit 551ed289ca
1 changed files with 5 additions and 1 deletions

View File

@ -29,7 +29,11 @@ $(document).ready(function() {
var uploadProgress = false;
uploader.bind('QueueChanged', function(){
uploadProgress = true;
if(uploader.files.length > 0){
uploadProgress = true;
}else{
uploadProgress = false;
}
});
uploader.bind('UploadComplete', function(){