This is a migrated thread and some comments may be shown as answers.

[Solved] Image Manager return object.

1 Answer 70 Views
Editor
This is a migrated thread and some comments may be shown as answers.
RWA
Top achievements
Rank 1
RWA asked on 23 Jul 2009, 08:25 PM
Greetings:

We've developed a custom image chooser using the DialogOpener. Which we take the resulting args object and retrieve the src path and URL encode it and pass the ImageUrl to our thumbnail generator.

We build the script server side and register it to the page.

We had no issues in IE6, IE7 until the most recent updates.

function callBackFunction(sender, args){
var selectedItem = args.value.attributes[0].value;
..... custom code ....
}

the problem is, with the most recent updates, in IE7 or IE8 compatibility mode it returns null. this works great in IE 8, and FF 3.x
Would there be any chance there is another property that could be available that I am not aware of?

Thanks 
Russell

1 Answer, 1 is accepted

Sort by
0
RWA
Top achievements
Rank 1
answered on 23 Jul 2009, 09:28 PM
var selectedItem = args.value.getAttribute('src',2);

found the answer.
Tags
Editor
Asked by
RWA
Top achievements
Rank 1
Answers by
RWA
Top achievements
Rank 1
Share this question
or