From d7dde0bc00a25c0783e9f25f8a179b6c3a3165bf Mon Sep 17 00:00:00 2001 From: Yagami Date: Fri, 23 Nov 2018 14:56:23 +0800 Subject: [PATCH] * Fix bug #2307. --- module/task/js/recordestimate.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/task/js/recordestimate.js b/module/task/js/recordestimate.js index 276426a493..8504cb5c7b 100644 --- a/module/task/js/recordestimate.js +++ b/module/task/js/recordestimate.js @@ -14,8 +14,9 @@ $(function() $(this).click(function() { var hasRecord = false; - $('#recordForm').find('input[name^="dates"], input[name^="consumed"], input[name^="left"], textarea[name^="work"]').each(function() + $('#recordForm').find('input[name^="consumed"], input[name^="left"], textarea[name^="work"]').each(function() { + console.log($(this).val()); if($(this).val() !== '') { hasRecord = true;