Merge branch 'sprint/181_zhengrunyu_Fixbug' into 'master'
*Fix bug for start and end time when edit it. See merge request easycorp/zentaopms!1312
This commit is contained in:
@@ -9,8 +9,8 @@ function changeDate(planID)
|
||||
{
|
||||
if($("#future" + planID).prop('checked'))
|
||||
{
|
||||
$("input[name='begin[" + planID + "]']").attr('disabled', 'disabled').val('');
|
||||
$("input[name='end[" + planID + "]']").attr('disabled', 'disabled').val('');
|
||||
$("input[name='begin[" + planID + "]']").attr('disabled', 'disabled');
|
||||
$("input[name='end[" + planID + "]']").attr('disabled', 'disabled');
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -63,7 +63,7 @@ $('#future').on('change', function()
|
||||
{
|
||||
if($(this).prop('checked'))
|
||||
{
|
||||
$('#begin').attr('disabled', 'disabled').val('');
|
||||
$('#begin').attr('disabled', 'disabled');
|
||||
$('#end').parents('tr').hide();
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user