Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Commit

Permalink
Fix a small bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
kmccurley committed Sep 30, 2023
1 parent 763eb88 commit 9b45648
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions iacr/collaborators.inc
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,14 @@
function fetchData() {
let name = document.getElementById('firstName').value + ' ' + document.getElementById('lastName').value;
let cryptodb = null;
let tags = document.getElementsByName('tags')[0].value.split(' ');
for (let i = 0; i < tags.length; i++) {
let parts = tags[i].split('#');
if (parts.length == 0 && parts[0] == 'cryptodb') {
cryptodb = parts[1];
let tags = document.getElementsByName('tags');
if (tags) {
tags = tags[0].value.split(' ');
for (let i = 0; i < tags.length; i++) {
let parts = tags[i].split('#');
if (parts.length == 0 && parts[0] == 'cryptodb') {
cryptodb = parts[1];
}
}
}

Expand Down Expand Up @@ -92,5 +95,9 @@
<div class="g">
<div style="display:none;margin:5px;padding: 5px;border: 1px solid red;color:red" id="iacrError"></div>
<strong style="color:green">Import from IACR: </strong>
<button type="button" class="ml-2 button button-primary" onclick="fetchData();return false">Fetch recent coauthors</button>
<button type="button" class="ml-2 button button-primary" onclick="fetchData();return false">Fetch some recent coauthors</button>
</div>
<div>
<strong>NOTE:</strong>The button above is only assist to help you find your recent coauthors. It will not import
coauthors from ACM or other venues. It is your responsibility to supply your potential conflicts.
</div>

0 comments on commit 9b45648

Please sign in to comment.