From c4d7a70f1955add9a496aceca91d6f8b5fd381d0 Mon Sep 17 00:00:00 2001 From: matthew Date: Thu, 19 Jul 2007 13:22:45 +0000 Subject: Disable submit button when clicked. --- web/js.js | 1 + 1 file changed, 1 insertion(+) (limited to 'web/js.js') 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; -- cgit v1.2.3