From 19a2ef4ac8876e0fcfcdffb281f246a36d66b734 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Mon, 22 Aug 2022 16:58:47 +0800 Subject: [PATCH] * fix bug #26741. --- module/task/js/edit.js | 2 +- module/task/view/edit.html.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/module/task/js/edit.js b/module/task/js/edit.js index 3112a0dd8b..c213fcd73f 100644 --- a/module/task/js/edit.js +++ b/module/task/js/edit.js @@ -171,7 +171,7 @@ $('#confirmButton').click(function() if(!isNaN(left)) totalLeft += left; if(!$tr.hasClass('member-done') && (isNaN(left) || left == 0)) { - bootbox.alert(account + ' ' + estimateNotEmpty); + bootbox.alert(account + ' ' + leftNotEmpty); error = true; return false; } diff --git a/module/task/view/edit.html.php b/module/task/view/edit.html.php index e3d6348d17..8c7e71a1cd 100644 --- a/module/task/view/edit.html.php +++ b/module/task/view/edit.html.php @@ -309,7 +309,7 @@ foreach(explode(',', $config->task->edit->requiredFields) as $field) - +