fixed choosing dup dir alert

This commit is contained in:
2021-03-01 19:13:38 +11:00
parent 06eb1ef927
commit 269009f14f
2 changed files with 2 additions and 4 deletions

2
BUGs
View File

@@ -2,5 +2,3 @@
BUG-25: file counts are wacky, now?
import says 7 of 7, but there are 5 files 2 dirs
file_details = 7 of 3?!?
BUG-26: when choosing between duplicate dirs to keep, the radio buytton is not unique per directory, so if you have 10 sets of dirs, only the bottom one has a green option

View File

@@ -65,7 +65,7 @@
function KeepDir(row, which)
{
$('[id^=kd]').attr('class', 'alert alert-danger sm-txt')
$('[id^=kd'+row+']').attr('class', 'alert alert-danger sm-txt')
$('#kd'+row+'-d'+which).attr('class', 'alert alert-success')
$('#kdid-'+row).val( D[row.toString()+which.toString()] )
}
@@ -73,6 +73,6 @@
// force choose last of each keep file set
$('[id$=f1]').each( function () { $(this).siblings( '.alert' ).last().click() } )
// force choose last of each dir set
$('[id$=d2]').click()
$('[id$=d2]').each( function() { $(this).click() } )
</script>
{% endblock script_content %}