Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#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:


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:

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 11 years ago by Mike Wilcox

Resolution: fixed
Status: newclosed

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.

comment:2 Changed 11 years ago by bill

Milestone: tbd1.6

bulk update: bugs fixed in past few months, presumably milestone is 1.6

Note: See TracTickets for help on using tickets.