* Fix bug #3227.
This commit is contained in:
@@ -12,6 +12,24 @@ function setDuplicate(resolution)
|
||||
|
||||
$(function()
|
||||
{
|
||||
/* Fix bug #3227. */
|
||||
var requiredFields = config.requiredFields;
|
||||
if(requiredFields.indexOf('resolvedBuild') == -1)
|
||||
{
|
||||
resolvedBuildTd = $('#resolvedBuild').closest('td');
|
||||
$('#resolution').change(function()
|
||||
{
|
||||
if($(this).val() == 'fixed')
|
||||
{
|
||||
resolvedBuildTd.addClass('required');
|
||||
}
|
||||
else
|
||||
{
|
||||
resolvedBuildTd.removeClass('required');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
$('#createBuild').change(function()
|
||||
{
|
||||
if($(this).prop('checked'))
|
||||
|
||||
Reference in New Issue
Block a user