[Cartoweb-users] Upload georeferenced images with Edition plugin

Oliver Christen oliver.christen at camptocamp.com
Thu Oct 25 03:47:01 EDT 2007


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 
  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/7aa6f55b/attachment.html


More information about the Cartoweb-users mailing list