Wednesday 1 February 2012

jQuery.NeatUpload - Release 0.3

A new bug has been detected in the jquery.neatupload plugin, the issue occurred if more than one tab opened in the same browser window tried to upload files in time overlapping. The effect was progress bars becoming crazy with the progress indications.
The cause was a naming collision with the postbackId parameter which identifies the current file being uploaded, the number always started by 1, so if two requests from the same browser send the same postbackId, the NeatUpload module doesn’t know who is who and the polls for display the progress show by moments the results of one and by moments the results of the other.
The solution, change the initialization value for the internal variable postbackId, this time helped by a random number and rounded for to eliminate the decimal comma separator, just esthetic. This change is applied to version 0.3 which can be downloaded here.

2 comments:

  1. Hi

    I tried to download the file you reference here but did not be able to download it cause it seems to don't be there.

    ReplyDelete
    Replies
    1. Hi Shack,
      I recommend you to download a most recent release, see this post http://abelperezmartinez.blogspot.com/2012/02/jqueryneatupload-examples-refactored.html
      or visit directly https://bitbucket.org/abelperezok/jquery.neatupload/downloads where I put the .js files up to date.
      In fact, the 0.5 is ready but I haven't announced yet in the blog.
      Thanks for your motivation.

      Delete