Tiny update for the group editing form

This commit is contained in:
Naoki Takezoe
2018-04-16 14:09:48 +09:00
parent 13622c5970
commit 6e0deb6a6c
2 changed files with 3 additions and 4 deletions

View File

@@ -77,6 +77,7 @@ $(function(){
function(data, status){
if(data == 'user'){
addMemberHTML(userName, false);
$('#memberName').val('');
} else {
$('#error-members').text('User does not exist.');
}
@@ -118,7 +119,7 @@ $(function(){
.append(' ')
.append($('<a>').attr('href', '@context.path/' + userName).text(userName))
.append(' ')
.append($('<a href="#" class="remove pull-right">(remove)</a>')));
.append($('<a href="#" class="remove pull-right"><span class="octicon octicon-x"></span></a>')));
}
function updateMembers(){

View File

@@ -1405,9 +1405,7 @@ ul.collaborator li:hover {
}
ul.collaborator a.remove {
color: #dd0000;
text-decoration: underline;
padding-top: 4px;
padding: 6px;
}
/****************************************************************************/