Another small change to the way styles are assigned to authors in the author list on add authors form.
This commit is contained in:
parent
03f2cdcf8c
commit
d83460bd36
2 changed files with 4 additions and 5 deletions
|
@ -9,7 +9,10 @@
|
|||
margin-bottom: .75em;
|
||||
}
|
||||
|
||||
#authorships li.dd {
|
||||
/* Use class dd rather than jQuery UI's class ui-sortable, so that we can remove
|
||||
* the class if there's fewer than one author.
|
||||
*/
|
||||
#authorships.dd li {
|
||||
padding-left: 1em;
|
||||
background: url("../images/sortable_icon.png") no-repeat left center;
|
||||
cursor: move;
|
||||
|
|
|
@ -308,8 +308,6 @@ var addAuthorForm = {
|
|||
return;
|
||||
}
|
||||
|
||||
authorships.addClass('dd');
|
||||
|
||||
$('.authorNameWrapper').each(function() {
|
||||
$(this).attr('title', 'Drag and drop to reorder authors');
|
||||
});
|
||||
|
@ -663,8 +661,6 @@ var addAuthorForm = {
|
|||
authorships.sortable({ disable: true } );
|
||||
authorships.removeClass('dd');
|
||||
|
||||
authorship.removeClass('dd');
|
||||
|
||||
authorNameWrapper.removeAttr('title');
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue