* Adjust mr create js code
This commit is contained in:
+12
-2
@@ -85,8 +85,18 @@ $(function()
|
||||
|
||||
$("#needCI").change(function()
|
||||
{
|
||||
if(this.checked == false) $("#jobID").parent().parent().addClass('hidden');
|
||||
if(this.checked == true) $("#jobID").parent().parent().removeClass('hidden');
|
||||
if(this.checked == false)
|
||||
{
|
||||
$("#jobID").prop("disabled", true);
|
||||
$('#jobID').chosen().trigger("chosen:updated");;
|
||||
$("#jobID").parent().parent().addClass('hidden');
|
||||
}
|
||||
if(this.checked == true)
|
||||
{
|
||||
$("#jobID").prop("disabled", false);
|
||||
$('#jobID').chosen().trigger("chosen:updated");;
|
||||
$("#jobID").parent().parent().removeClass('hidden');
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user