#11760 closed defect (fixed)
dojox.form.FileUploader failing inside TabContainer
Reported by: | J Cameron Cooper | Owned by: | dante |
---|---|---|---|
Priority: | high | Milestone: | 1.6 |
Component: | DojoX Form | Version: | 1.5 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
When a FileUploader? is used inside a TabContainer?, it doesn't work. No errors are reported to JS console, but the button contains no visible text and does nothing when clicked. (Observed on Linux FF and Chrome.)
The existing test for this easily demonstrates the issue:
http://archive.dojotoolkit.org/nightly/dojotoolkit/dojox/form/tests/test_FileUploaderTabs.html
Looking at the DOM tree, the issue seems to be that the inner form is not created, nor the inline styles put on the 'uploaderInsideNode' that stop it from being visible.
It is possible that this is related to #11039, since it does seem to help if I call 'createHtmlUploader' after instantiation, but since the widget is in a ContentPane?, I'm not sure that they're the same bug.
I find this an odd bug, since 1.5.0 is specifically noted to allow FileUploader? in TabContainer?; probably that means some sort of upstream change broke it.
Change History (2)
comment:1 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 10 years ago by
Milestone: | tbd → 1.6 |
---|
bulk update: bugs fixed in past few months, presumably milestone is 1.6
FileUploader? is no longer supported due to problems such as this. Suggested to use dojox.form.Uploader which implements HTML5 file inputs in Firefox and Safari. IE does not have the above problem.