Plupload HTML4“添加文件"对话框未在IE中触发 [英] Plupload HTML4 Add Files dialog not triggering in IE
问题描述
我正在将带有HTML4的Plupload(jQuery版本)用于IE,由于某些原因,当我按下添加文件"按钮时,它没有打开文件对话框".
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.
Plupload容器放置在一个对话框中,每次显示对话框之前,我都会调用.pluploadQueue()
.
The Plupload container is placed in a dialog, and I call .pluploadQueue()
just before I show the dialog, each time.
在FF和Chrome上正常运行.
It works fine on FF and Chrome.
推荐答案
原因
每次显示对话框之前,我都会呼叫
.pluploadQueue()
.
解决方案
显然,如果在评估.pluploadQueue()
The Solution
Apparently, Plupload doesent seem to fire the dialog if the Plupload container is hidden (display:none
) while evaluating .pluploadQueue()
在调用.pluploadQueue()
之前,我必须先执行display:block
-因为直到完成Plupload任务之后,我才不想在对话框中淡入淡出,所以我只是将容器设置为opacity:0
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
长话短说 :确保在调用.pluploadQueue()
这篇关于Plupload HTML4“添加文件"对话框未在IE中触发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!