Plupload HTML4 Add Files dialog not triggering in IE

自闭症网瘾萝莉.ら 提交于 2019-12-04 04:07:56

问题


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.



来源:https://stackoverflow.com/questions/11898082/plupload-html4-add-files-dialog-not-triggering-in-ie

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