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?
2009 solution
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[0] = "Value 1";
array[1] = "Value 2";
window.returnValue = array;
window.close();
Tridion 2011
have no clue how to change this