NIHVIVO-646 Small style changes. A note in DataPropertyComparator.

This commit is contained in:
rjy7 2010-07-06 01:45:11 +00:00
parent 2a88ff8308
commit d0930bca49
2 changed files with 8 additions and 10 deletions

View file

@ -7,9 +7,6 @@ foaf:Person - the individual being edited
core:Authorship - primary new individual being created
core:InformationResource - new or existing individual being linked to
Data properties of Authorship:
core:authorRank
Object properties (domain : range)
core:informationResourceInAuthorship (InformationResource : Authorship)
@ -19,5 +16,3 @@ core:linkedAuthor (Authorship : Person)
core:authorInAuthorship (Person : Authorship) - inverse of linkedAuthor
--%>
hello world

View file

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