diff options
author | 2012-12-26 18:09:53 +0700 | |
---|---|---|
committer | 2012-12-26 18:09:53 +0700 | |
commit | 831d62a90532967272ba63fb2b3dc74d262eb6a2 (patch) | |
tree | 1a63dd03a78c562a99f2f65bdb01b1e44ec16cf2 /web/maps.js | |
parent | 9adb555fe41f6322310be1fea406d9d8d44acafe (diff) |
/places/
Diffstat (limited to 'web/maps.js')
-rw-r--r-- | web/maps.js | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/web/maps.js b/web/maps.js index 39ac3d6f..2ae8cd8e 100644 --- a/web/maps.js +++ b/web/maps.js @@ -178,10 +178,6 @@ JuickControl.prototype.setButtonStyle_ = function(button) { var htmlAddPlace='<form><p style="width: 440px"><b>Name:</b><br/>\ <input type="text" name="description" maxlength="64" style="width: 400px"/><br/>\ -Impersonal description (max 255 symbols):<br/>\ -<textarea name="text" rows="5" style="width: 400px"></textarea><br/>\ -URL:<br/>\ -<input type="text" name="url" maxlength="128" style="width: 400px"/><br/>\ Tags (separated by space, 10 max):\ <input type="text" name="tags" maxlength="255" style="width: 400px"/></p>\ <p style="width: 400px; text-align: right; margin-bottom: 0"><input type="button" value=" Add " onclick="addPlace(this.form)"/></p>\ @@ -206,8 +202,6 @@ function addPlace(form) { alert('Enter place name.'); return; } - var text=form.text.value; - var url=form.url.value; var tags=form.tags.value; map.closeInfoWindow(); GDownloadUrl("/_mapxml",function(data) { @@ -224,5 +218,5 @@ function addPlace(form) { icon )); mc.addMarkers(markers); - },'lat='+placeLatLng.lat()+'&lon='+placeLatLng.lng()+'&description='+escape(description)+'&text='+escape(text)+'&url='+escape(url)+'&tags='+escape(tags)); + },'lat='+placeLatLng.lat()+'&lon='+placeLatLng.lng()+'&description='+escape(description)+'&tags='+escape(tags)); } |