We are migrating from Tridion 2009 to 2011 and I have a few problems with our custom popups for multivalued fields in Tridion.
In Tridion 2009 we could add an array as the returnvalue of the window (window.returnValue = new Array) and Tridion added the values into the component. This doesn't work anymore in Tridion 2011. It however does work for a single value --> window.returnValue = "New Value"
Can anyone help me with this? What should I change for the return value that it will work as it does in Tridion 2009?
var array = new Array(); var popupWindow = window.open("URL","","height=600, width=1000, scrollbars=yes, top=100, left=200, edge=Raised, center=Yes, help=No, resizable=No, status=No;"); //LOGIC HERE array = "Value 1"; array = "Value 2"; window.returnValue = array; window.close();
have no clue how to change this