Plupload HTML4 Add Files dialog not triggering in IE

匿名 (未验证) 提交于 2019-12-03 02:31:01

问题:

I'm using Plupload (jQuery version) with HTML4 for IE, and for some reason it's not opening the File Dialog when I press the Add Files button.

The Plupload container is placed in a dialog, and I call .pluploadQueue() just before I show the dialog, each time.

It works fine on FF and Chrome.

回答1:

The Cause

I call .pluploadQueue() just before I show the dialog, each time.


The Solution

Apparently, Plupload doesent seem to fire the dialog if the Plupload container is hidden (display:none) while evaluating .pluploadQueue()

I had to do a display:block before calling .pluploadQueue() - since I didnt want to fade in my dialog till after the Plupload stuff was done, I simply set the containers opacity:0

Long story short: Make sure your Plupload container is not hidden when you call .pluploadQueue()



回答2:

After showing or moving the button, call uploader.refresh() to have the runtime shim update its position.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!