Add files button doesn´t work with firefox 5 integrated in another web page
HI, I used your example and integrated it in out intranet. I don´t know why but the "add files" button doesn´t do anything in firefox 5 although it works with IE 9 . drop files works also, but it seems that the button doesn´t know it´s a input button...
I tried and removed in example.html the input file out of the label, like this
<div class="fileupload-buttonbar">
<input type="file" name="files[]" multiple>
<label class="fileinput-button">
<span>Add files...</span>
<!--<input type="file" name="files[]" multiple>-->
</label>
and it worked, although it´s a normal browse upload button. I guess must be related to some divs or the html code of the page since it´s a 3 column webpage. Any guess how to fix or debug this ? Firebug doesn´t show any error.
Thanks
when I do a drop the "Start upload" button works... very weird..its only the "add files"
I discovered with firebug that the label class is changed when page is fullt loaded and became fileinput-button ui-button ui-widget ui-state-default ui-corner-all ui-button-text-icon-primary
I tracked the problem to class ui-button. If I remove this class, it will became a normal button but it works. I hope this helps to discover the problem.
Thanks
delete button also doesn´t work in Firefox, but works in IE9. Any clue to what this might be ?
I found an issue that has to do with font-size. If I drop the font-size of the widget that is roughly around 9pt then the button simply stops working. I guess somehow it makes the invisible file input box unclickable. Checking with Firebug I can see it in the correct place, but only if font's size is big enough the button works...
This fixes the problem for me:
#fileupload input[type="file"] {
font-size: 2em;
}