<div>Thanks, Oliver</div>
<div>now it's working</div>
<div>but I'm using window.opener.document.getElementById instead window.opener.document.carto_form</div>
<div>:)</div>
<div> </div>
<div>Vítor<br><br> </div>
<div><span class="gmail_quote">2007/10/25, Oliver Christen <<a href="mailto:oliver.christen@camptocamp.com">oliver.christen@camptocamp.com</a>>:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div bgcolor="#ffffff">
<div><font size="2">well, I can only say something is wrong with your javascript.</font></div>
<div><font size="2">maybe have a look at <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.webreference.com/js/column7/jslaunch.html" target="_blank">http://www.webreference.com/js/column7/jslaunch.html
</a> to see if you can find what exactly.</font></div>
<div><font size="2"></font> </div>
<div><font size="2">regards</font></div>
<div><font size="2">Oliver</font></div>
<blockquote style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<div><span class="e" id="q_115d6211826dd244_1">
<div style="FONT: 10pt arial">----- Original Message ----- </div>
<div style="BACKGROUND: #e4e4e4; FONT: 10pt arial"><b>From:</b> <a title="vitor.campos@gmail.com" onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:vitor.campos@gmail.com" target="_blank">Vitor Campos</a>
</div>
<div style="FONT: 10pt arial"><b>To:</b> <a title="cartoweb-users@lists.maptools.org" onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:cartoweb-users@lists.maptools.org" target="_blank">cartoweb-users@lists.maptools.org
</a> </div>
<div style="FONT: 10pt arial"><b>Sent:</b> Wednesday, October 24, 2007 10:08 PM</div>
<div style="FONT: 10pt arial"><b>Subject:</b> [Cartoweb-users] Upload georeferenced images with Edition plugin</div>
<div><br> </div>
<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></span></div>
<p>
<hr>
<p></p>_______________________________________________<br>Cartoweb-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Cartoweb-users@lists.maptools.org" target="_blank">Cartoweb-users@lists.maptools.org
</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.maptools.org/mailman/listinfo/cartoweb-users" target="_blank">http://lists.maptools.org/mailman/listinfo/cartoweb-users</a><br>
<p></p></p></blockquote></div></blockquote></div><br>