Merge branch 'spring/master_zhouxudong_54470' into 'master'

* Finish task #54470.

See merge request easycorp/zentaopms!3547
This commit is contained in:
王怡栋
2022-05-25 08:04:57 +00:00
+16
View File
@@ -7,6 +7,22 @@ $(function()
$form.css('min-height', $form.height());
})
$('#repoForm').bind('DOMNodeInserted', function(e)
{
if($("#clientLabel").length > 0)
{
if($("#client").val() !== '' && $("#client").val().indexOf(" ") == -1)
{
$("#clientLabel").css('color', '#0c64eb');
$("#client").attr('style', 'border-color: #0c64eb !important;box-shadow: 0 0 6px #0c64eb !important;');
}
else
{
$("#client").removeAttr("style");
}
}
});
$('#gitlabHost').change(function()
{
host = $('#gitlabHost').val();