From e3108d04cc1515d8e0482f8f238ac1d5dd59f633 Mon Sep 17 00:00:00 2001 From: arno Date: Wed, 18 Aug 2010 22:26:19 +0200 Subject: [PATCH] do not allow checking accept checkbox when submit button is disabled --- public/js/syj.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/js/syj.js b/public/js/syj.js index 3c4bece..58e542a 100644 --- a/public/js/syj.js +++ b/public/js/syj.js @@ -40,6 +40,7 @@ var SyjSaveUI = { enableSubmit: function() { $("geom_submit").disabled = false; + $("geom_accept").disabled = false; this.status = "partial"; return this; }, @@ -47,6 +48,8 @@ var SyjSaveUI = { disableSubmit: function() { $("geom_submit").blur(); $("geom_submit").disabled = true; + $("geom_accept").blur(); + $("geom_accept").disabled = true; this.status = "partial"; return this; } -- 2.39.2