NIHVIVO-646 JS bug fixes and refinements
This commit is contained in:
parent
745e98e0fb
commit
63c49c180d
3 changed files with 72 additions and 31 deletions
|
@ -293,14 +293,20 @@ SPARQL queries for existing values. --%>
|
|||
// ulClass = "class='processedSubmission'";
|
||||
//}
|
||||
//System.out.println(vreq.getAttribute("entToReturnTo"));
|
||||
String ulClass = "";
|
||||
if (authorships.size() > 1) {
|
||||
// This class triggers application of dd styles. Don't wait for js to add
|
||||
// the ui-sortable class, because then the page flashes as the styles are updated.
|
||||
ulClass = "class='dd'";
|
||||
}
|
||||
%>
|
||||
|
||||
<ul id="authorships">
|
||||
<ul id="authorships" <%= ulClass %>>
|
||||
<%
|
||||
|
||||
int rank = 0;
|
||||
int index = 0;
|
||||
request.setAttribute("authorshipCount", authorships.size());
|
||||
|
||||
for ( Individual authorship : authorships ) {
|
||||
String rankDatatypeUri = "";
|
||||
DataPropertyStatement rankStmt = authorship.getDataPropertyStatement(rankPredicateUri);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue