* Finish task #54983.
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -108,21 +108,4 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
$('#repoForm').bind('DOMNodeInserted', function(e)
|
||||
{
|
||||
if($("#clientLabel").length > 0)
|
||||
{
|
||||
if($("#client").val() !== '')
|
||||
{
|
||||
$("#clientLabel").css('color','#0c64eb');
|
||||
$("#client").attr('style', 'border-color: #0c64eb !important;');
|
||||
}
|
||||
else
|
||||
{
|
||||
$("#client").removeAttr("style");
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
<?php include '../../common/view/footer.html.php'; ?>
|
||||
|
||||
Reference in New Issue
Block a user