[Cartoweb-users] Upload georeferenced images with Edition plugin

Igor Evdokimov igev at mail.ru
Mon Jun 25 16:34:57 EDT 2007


Hi, Oliver!

I've done what you suggessed but this function in _generated_
popup window causes new error:

   function pickName()
   {
   	if (window.opener && !window.opener.closed)
              
window.opener.document.carto_form.edit_feature_1182802584661202 
[image].value = document.aForm.filename.value;
         window.close();
   }

The error is:
"image is not defined". I suppose these [ and ] symbols are reserved  
in JavaScript.

If I use additional field "attachFile" instead of "edit_feature_..."  
- it works to the end
(updates this field, validates form, inserts point with correct link).
But I don't want "a secondary form element in edition area".

Thank you for your help!
I think in a short time I will finish my task.

Best regards, Igor. 


More information about the Cartoweb-users mailing list