aboutsummaryrefslogtreecommitdiffstats
path: root/web/js.js
diff options
context:
space:
mode:
authormatthew <matthew>2009-10-22 15:10:51 +0000
committermatthew <matthew>2009-10-22 15:10:51 +0000
commit6bbe2ac53ec78f98e2551925302088d52edd20dd (patch)
treee6f1a9035b2b062e07d431777ed2950280f5c0c3 /web/js.js
parent0dfee022ef4005440a8ff612b6baa0190eaa5813 (diff)
Hopefully fix #1053
Diffstat (limited to 'web/js.js')
-rw-r--r--web/js.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/web/js.js b/web/js.js
index e2862db4d..9cc536728 100644
--- a/web/js.js
+++ b/web/js.js
@@ -54,10 +54,9 @@ YAHOO.util.Event.onContentReady('map', function() {
YAHOO.util.Event.onContentReady('mapForm', function() {
this.onsubmit = function() {
if (this.submit_problem) {
- this.submit_problem.disabled = true;
- this.submit_map.value = 2;
+ this.onsubmit = function() { return false; };
}
-
+
this.x.value = fms_x + 2;
this.y.value = fms_y + 2;
/*