From 1d90888eb09c8b8f28545a170f9fadc1ddd88dbe Mon Sep 17 00:00:00 2001 From: holan20180123 <56391770@qq.com> Date: Tue, 22 Sep 2020 15:12:54 +0800 Subject: [PATCH] * Finish task #7943. Fix bug 3388. --- module/repo/js/common.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/repo/js/common.js b/module/repo/js/common.js index 54ab1955f4..d689b3d390 100644 --- a/module/repo/js/common.js +++ b/module/repo/js/common.js @@ -52,10 +52,12 @@ $("input:checkbox[name='revision[]']").click(function(){ if (checkNum >= 2) { $("input:checkbox[name='revision[]']").each(function(){ if(!$(this).is(':checked')) $(this).attr("disabled","disabled")}); + $('#submit').removeAttr('disabled'); } else { $("input:checkbox[name='revision[]']").each(function(){$(this).attr("disabled", false)}); + $('#submit').attr('disabled', 'disabled'); } });