* Fix bug#23841.

This commit is contained in:
leiyong
2022-06-17 01:30:09 +00:00
parent 1bc6b260a5
commit ae55e2c31e
4 changed files with 21 additions and 4 deletions
+11
View File
@@ -219,6 +219,17 @@ $('[data-toggle="popover"]').popover();
$('#planForm').submit(function()
{
// Clear all error messages.
$('input[name^=begin]').each(function()
{
var beginDateID = $(this).attr('id');
if(beginDateID == 'begin%i%') return;
var endDateID = beginDateID.replace('begin', 'end');
$('#help' + beginDateID).remove();
$('#help' + endDateID).remove();
});
var submitForm = true;
$('input[name^=begin]').each(function()
{