#10920 closed defect (fixed)
Small patch to manually show initially hidden file Uploader
Reported by: | Josh Trutwin | Owned by: | Mike Wilcox |
---|---|---|---|
Priority: | high | Milestone: | 1.6 |
Component: | DojoX Uploader | Version: | 1.4.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Discussed this with Mike Wilcox - added a small patch for when you need to manually show an initially hidden flash fileUploader. This could happen if your file uploader was in a hidden div/table, etc and not a dijit with an "onShow" method such as a tab container.
In addition talked about having a _created boolean which would prevent the creation code being called twice which leads to re-initialization issues when going to a tab with an uploader, selecting a file, then going to a different tab and returning to the uploader tab. But I was unable to correctly implement something like this so not included in patch file.
Attachments (1)
Change History (4)
Changed 11 years ago by
Attachment: | fileUploader.patch added |
---|
comment:1 Changed 11 years ago by
One thing that's a little goofy is that the function name is a string value so have to call with something like:
w = dijit.byId('myUploader'); w[w.createMethod]();
Maybe store the method itself so can call w.createMethod(); ?
comment:2 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
I can't remember if I added this patch or not, I'm sorry. But this is no longer supported and suggested you use dojox.form.Uploader.
saving the value of the createMethod so can be called manually with ease