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:
rjy7 2010-07-13 15:05:29 +00:00
parent 9d21b107f3
commit d2f66a5035
2 changed files with 4 additions and 6 deletions

View file

@ -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 {

View file

@ -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) {