开发者

Using Plupload to upload files, browse_button stops working

开发者 https://www.devze.com 2023-03-01 21:43 出处:网络
I have found that when the browse_button gets moved on the screen (possibly due to dynamic content), it doesn\'t work anymore a开发者_高级运维nd needs a Uploader.refresh() call (mentioned on the plupl

I have found that when the browse_button gets moved on the screen (possibly due to dynamic content), it doesn't work anymore a开发者_高级运维nd needs a Uploader.refresh() call (mentioned on the plupload forum).

I have been working around the issue by adding the refresh to the various effects callbacks:

$(".flash").fadeOut(3000, function(){
    uploader.refresh();
});

Unfortunately, I have jquery fadeIn/out everywhere, what would be a good way to avoid needing to call this function all the time?


the solution to this was to put the upload link inside of a div, thus making the location of the upload link relative to the div that it is in.

0

精彩评论

暂无评论...
验证码 换一张
取 消