#9085 closed defect (fixed)
dojox.editor.plugins.UploadImage: _djrealurl needs to be set to the image URI
Reported by: | Jaanus Heeringson | Owned by: | Mike Wilcox |
---|---|---|---|
Priority: | high | Milestone: | 1.4 |
Component: | Editor | Version: | 1.3.0 |
Keywords: | _djrealurl, dojox.editor.plugins.UploadImage | Cc: | [email protected]… |
Blocked By: | Blocking: |
Description
Apparently the editor ignores the src attribute if there is a _djrealurl declared, so we need set that one to, otherwise atr('value') from the editor returns image with tempImageUrl instead of the uploaded url.
Change:
tmpImgNode.src = file;
To:
tmpImgNode.src = file; dojo.attr(tmpImgNode,'_djrealurl',file);
Change History (6)
comment:1 Changed 12 years ago by
Milestone: | tbd → future |
---|---|
Owner: | liucougar deleted |
comment:2 Changed 11 years ago by
Milestone: | future → 1.5 |
---|---|
Owner: | set to Jared Jurkiewicz |
comment:3 Changed 11 years ago by
Owner: | changed from Jared Jurkiewicz to Mike Wilcox |
---|
Assiging to Mike, his plugin.
comment:4 Changed 11 years ago by
Milestone: | 1.5 → 1.6 |
---|
comment:5 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
I checked the code. This is already fixed, so closing ticket. Apparently fixed in:
Trac didn't close the ticket for some reason.
Note: See
TracTickets for help on using
tickets.
seems a simple fix. can we get a test case showing the fix working/breaking?