NIHVIVO-646 Modify technique for adding cursor style to drag-and-drop items so the style is removed when there's only one author remaining after a remove operation.
This commit is contained in:
parent
9d21b107f3
commit
d2f66a5035
2 changed files with 4 additions and 6 deletions
|
@ -20,8 +20,10 @@
|
|||
width: 15em;
|
||||
}
|
||||
|
||||
#authorships.dd .authorLinkWrapper {
|
||||
cursor: pointer;
|
||||
#authorships.dd .authorLinkWrapper,
|
||||
#authorships.dd li,
|
||||
#authorships.dd a.authorLink {
|
||||
cursor: move;
|
||||
}
|
||||
|
||||
#showAddForm span.or {
|
||||
|
|
|
@ -276,10 +276,6 @@ var addAuthorForm = {
|
|||
$(this).attr('title', 'Drag and drop to reorder authors');
|
||||
});
|
||||
|
||||
$('.authorLinkWrapper,#authorships.dd li, a.authorLink').hover(function() {
|
||||
$(this).css('cursor','move');
|
||||
})
|
||||
|
||||
authorshipList.sortable({
|
||||
cursor: 'move',
|
||||
stop: function(event, ui) {
|
||||
|
|
Loading…
Add table
Reference in a new issue