NIHVIVO-646 Fixed problem of cursor:pointer not taking effect on drag-drop list in add author form.

NIHVIVO-742 Restored v1.0 datetime handling to educational background form.
This commit is contained in:
rjy7 2010-07-06 14:05:57 +00:00
parent 93d8b6100a
commit 35a35daab8
4 changed files with 18 additions and 11 deletions

View file

@ -244,7 +244,6 @@ var addAuthorForm = {
$('.authorLinkWrapper').each(function() {
$(this).attr('title', 'Drag and drop to reorder authors');
$(this).attr('cursor', 'pointer'); // not working??
});
authorshipList.sortable({
@ -539,13 +538,17 @@ var addAuthorForm = {
// Disable DD and associated cues if only one author remains
disableAuthorDD: function() {
var authorship = $('.authorship'),
var authorships = $('#authorships'),
authorship = $('.authorship'),
authorLinkWrapper = $('.authorLinkWrapper');
$('#authorships').sortable({ disable: true } );
authorships.sortable({ disable: true } );
authorships.removeClass('dd');
authorship.css('background', 'none');
authorship.css('padding-left', '0');
authorLinkWrapper.attr('title', '');
authorLinkWrapper.attr('cursor', '');
},
// RY To be implemented later.