Merge branch 'sprint/wangzemei/28244' into 'master'

* fix bug 28244

See merge request easycorp/zentaopms!5664
This commit is contained in:
李玉春
2022-10-08 03:08:09 +00:00
+6 -1
View File
@@ -1351,6 +1351,11 @@ function handleKanbanWidthAttr ()
$(addAttrEle).closest('.width-radio-row').addClass('required');
$('#colWidth').attr('disabled',fluidBoard == 1);
$('#minColWidth, #maxColWidth').attr('disabled',fluidBoard == 0);
$("#minColWidth, #maxColWidth").on('input', function()
{
$('#minColWidthLabel, #maxColWidthLabel').remove();
$('#minColWidth, #maxColWidth').removeClass('has-error');
});
$(document).on('change', "#mainContent input[name='fluidBoard']", function(e)
{
$('#colWidth').attr('disabled', e.target.value == 1);
@@ -1369,5 +1374,5 @@ function handleKanbanWidthAttr ()
$('#colWidthLabel').remove();
$('#colWidth').removeClass('has-error');
}
})
});
}