<div>Hi, all</div>
<div>I'm trying to use this feature, like was discussed before between Igor and Oliver.</div>
<div>I did everything in the steps, but it's not working.</div>
<div>In the function pickName, window.opener is null.</div>
<div>I'm calling the popup like this:</div>
<div> </div>
<div>function attachFilePopup(){<br> var aFile = window.open("upload.php","atachFile","Image File Upload");<br> <br>}</div>
<div> </div>
<div>-------------------------------</div>
<div> </div>
<div>my pickName is like this:</div>
<div> </div>
<div>
<p>function pickName()<br> {<br> <br> if (window.opener && !window.opener.closed)<br> window.opener.document.carto_form['edit_feature_1193250090093251[pathfoto]'].value = document.aForm.filename.value
;</p>
<p> window.close();<br> }</p>
<p> </p>
<p>Thanx</p>
<p> </p>
<p>Vítor Campos</p></div>