[Cartoweb-users] Upload georeferenced images with Edition plugin
Vitor Campos
vitor.campos at gmail.com
Thu Oct 25 06:47:18 EDT 2007
Thanks, Oliver
now it's working
but I'm using window.opener.document.getElementById instead
window.opener.document.carto_form
:)
Vítor
2007/10/25, Oliver Christen <oliver.christen at camptocamp.com>:
>
> well, I can only say something is wrong with your javascript.
> maybe have a look at http://www.webreference.com/js/column7/jslaunch.html to
> see if you can find what exactly.
>
> regards
> Oliver
>
> ----- Original Message -----
> *From:* Vitor Campos <vitor.campos at gmail.com>
> *To:* cartoweb-users at lists.maptools.org
> *Sent:* Wednesday, October 24, 2007 10:08 PM
> *Subject:* [Cartoweb-users] Upload georeferenced images with Edition
> plugin
>
>
> Hi, all
> I'm trying to use this feature, like was discussed before between Igor and
> Oliver.
> I did everything in the steps, but it's not working.
> In the function pickName, window.opener is null.
> I'm calling the popup like this:
>
> function attachFilePopup(){
> var aFile = window.open("upload.php","atachFile","Image File Upload");
>
> }
>
> -------------------------------
>
> my pickName is like this:
>
>
> function pickName()
> {
>
> if (window.opener && !window.opener.closed)
> window.opener.document.carto_form['edit_feature_1193250090093251[pathfoto]'].value
> = document.aForm.filename.value ;
>
> window.close();
> }
>
>
>
> Thanx
>
>
>
> Vítor Campos
>
> ------------------------------
>
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20071025/7f47f427/attachment-0001.html
More information about the Cartoweb-users
mailing list