From 1a14ffba905af5e56a880fed1d0d35c1c03b9454 Mon Sep 17 00:00:00 2001 From: nac26 Date: Tue, 13 Jul 2010 14:13:19 +0000 Subject: [PATCH] Slight UI tweaks to authors form (new h3, cursor type and removed link to individuals) NIHVIVO-646 --- productMods/edit/forms/addAuthorsToInformationResource.jsp | 6 ++++-- .../edit/forms/js/addAuthorsToInformationResource.js | 5 +++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/productMods/edit/forms/addAuthorsToInformationResource.jsp b/productMods/edit/forms/addAuthorsToInformationResource.jsp index 91bd3979..1205a277 100644 --- a/productMods/edit/forms/addAuthorsToInformationResource.jsp +++ b/productMods/edit/forms/addAuthorsToInformationResource.jsp @@ -278,7 +278,7 @@ SPARQL queries for existing values. --%> } %> - + @@ -286,6 +286,8 @@ SPARQL queries for existing values. --%>

${title}

+

Manage Authors

+
    > <% String rankPredicateUri = vivoCore + "authorRank"; @@ -340,7 +342,7 @@ SPARQL queries for existing values. --%> - ${author.name} + ${author.name} diff --git a/productMods/edit/forms/js/addAuthorsToInformationResource.js b/productMods/edit/forms/js/addAuthorsToInformationResource.js index 0102e1c9..84ab2c51 100644 --- a/productMods/edit/forms/js/addAuthorsToInformationResource.js +++ b/productMods/edit/forms/js/addAuthorsToInformationResource.js @@ -276,7 +276,12 @@ 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) { addAuthorForm.reorderAuthors(event, ui); }