Skip to content

Commit

Permalink
Fix parameters to predictRights to bring project in line with Commonw…
Browse files Browse the repository at this point in the history
…ealth; add prediction note to UI
  • Loading branch information
moseshll committed Apr 22, 2024
1 parent 42925f3 commit 19c6d65
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion cgi/partial/crownCopyrightForm.tt
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@
<a href="[% viaf %]" target="_blank"><span class="red">VIAF Corporate</span><a>
</td>
</tr>
<tr>
<td colspan="2">
<span id="rights-description"></span>
</td>
</tr>
</table>

[% rights = crms.Rights(htid, 1) %]
Expand Down Expand Up @@ -213,7 +218,7 @@ function dateEntry() {
if (und && sel === und) {
return;
}
predictRights('[% htid %]', year, 1, 1);
predictRights('[% htid %]', year, '', 1, 1);
}

function popReviewInfo(user)
Expand Down

0 comments on commit 19c6d65

Please sign in to comment.