Andrew Mercer spoke the following wise words on 17/04/2004 8:43 PM EST:
I would just like objectId=A3BF0A78-CF17-EE39-588BD87F8E47E4FD to be
returned.

You need to redefine menuOption_Insert() if you want to change the HTML that is being inserted. Have a look in:
farcry_core/tags/navajo/overview.cfm


If all you want to do is get the objectid using javascript, then:

function menuOption_Insert()
{
        var p = parent['editFrame'];

        if( p.insertaObjIds ) p.insertaObjIds( aSelectedIds );
        else if( p.insertObjId ) p.insertObjId( lastSelectedId );
        else p.myFunction(lastSelectedId);
}

It should call myFunction(objectid) when insert is called.

If you want to change the HTML that's inserted, then just copy and paste menuOption_Insert() from overview.cfm and add another case for your object type.

-- tim

www.toolmantim.com

---
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to