Opened 11 years ago

Closed 9 years ago

Last modified 9 years ago

#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: jaanus@…
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 10 years ago by bill

Milestone: tbdfuture
Owner: liucougar deleted

comment:2 Changed 10 years ago by dante

Milestone: future1.5
Owner: set to Jared Jurkiewicz

seems a simple fix. can we get a test case showing the fix working/breaking?

comment:3 Changed 10 years ago by Jared Jurkiewicz

Owner: changed from Jared Jurkiewicz to Mike Wilcox

Assiging to Mike, his plugin.

comment:4 Changed 9 years ago by Adam Peller

Milestone: 1.51.6

comment:5 Changed 9 years ago by Jared Jurkiewicz

Resolution: fixed
Status: newclosed

I checked the code. This is already fixed, so closing ticket. Apparently fixed in:

[20746]

Trac didn't close the ticket for some reason.

comment:6 Changed 9 years ago by bill

Milestone: 1.61.4

In that case it's in 1.4 :-).

Note: See TracTickets for help on using tickets.