aboutsummaryrefslogtreecommitdiff
path: root/web/maps.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/maps.js')
-rw-r--r--web/maps.js8
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));
}