* optimize the format
This commit is contained in:
+4
-3
@@ -1351,10 +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(){
|
||||
$("#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);
|
||||
@@ -1373,5 +1374,5 @@ function handleKanbanWidthAttr ()
|
||||
$('#colWidthLabel').remove();
|
||||
$('#colWidth').removeClass('has-error');
|
||||
}
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user