diff options
author | matthew <matthew> | 2007-07-19 13:22:45 +0000 |
---|---|---|
committer | matthew <matthew> | 2007-07-19 13:22:45 +0000 |
commit | c4d7a70f1955add9a496aceca91d6f8b5fd381d0 (patch) | |
tree | adeecee448427548ebd5c8162070b75017a21b8f /web/js.js | |
parent | 3d163eda991f3bb072c61a6ca7fb6046189c1bb4 (diff) |
Disable submit button when clicked.
Diffstat (limited to 'web/js.js')
-rw-r--r-- | web/js.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |