Small modification to the way styles are assigned to authors in author listing on add authors form
This commit is contained in:
parent
79cf12f974
commit
03f2cdcf8c
3 changed files with 11 additions and 15 deletions
|
@ -223,7 +223,6 @@ var addAuthorForm = {
|
|||
// or click on the selection with the mouse. This appears to confuse some users.
|
||||
select: function(event, ui) {
|
||||
addAuthorForm.showSelectedAuthor(ui);
|
||||
return false;
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -309,6 +308,8 @@ var addAuthorForm = {
|
|||
return;
|
||||
}
|
||||
|
||||
authorships.addClass('dd');
|
||||
|
||||
$('.authorNameWrapper').each(function() {
|
||||
$(this).attr('title', 'Drag and drop to reorder authors');
|
||||
});
|
||||
|
@ -662,10 +663,9 @@ var addAuthorForm = {
|
|||
authorships.sortable({ disable: true } );
|
||||
authorships.removeClass('dd');
|
||||
|
||||
authorship.css('background', 'none');
|
||||
authorship.css('padding-left', '0');
|
||||
|
||||
authorNameWrapper.attr('title', '');
|
||||
authorship.removeClass('dd');
|
||||
|
||||
authorNameWrapper.removeAttr('title');
|
||||
},
|
||||
|
||||
// RY To be implemented later.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue