aboutsummaryrefslogtreecommitdiffstats
path: root/web/js.js
diff options
context:
space:
mode:
authormatthew <matthew>2007-07-19 13:22:45 +0000
committermatthew <matthew>2007-07-19 13:22:45 +0000
commitc4d7a70f1955add9a496aceca91d6f8b5fd381d0 (patch)
treeadeecee448427548ebd5c8162070b75017a21b8f /web/js.js
parent3d163eda991f3bb072c61a6ca7fb6046189c1bb4 (diff)
Disable submit button when clicked.
Diffstat (limited to 'web/js.js')
-rw-r--r--web/js.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/js.js b/web/js.js
index 1d8f47ea3..c32ffc4df 100644
--- a/web/js.js
+++ b/web/js.js
@@ -45,6 +45,7 @@ YAHOO.util.Event.onContentReady('map', function() {
YAHOO.util.Event.onContentReady('mapForm', function() {
this.onsubmit = function() {
+ this.submit_problem.disabled = true;
this.x.value = x + 2;
this.y.value = y + 2;
return true;