fixed choosing dup dir alert
This commit is contained in:
2
BUGs
2
BUGs
@@ -2,5 +2,3 @@
|
|||||||
BUG-25: file counts are wacky, now?
|
BUG-25: file counts are wacky, now?
|
||||||
import says 7 of 7, but there are 5 files 2 dirs
|
import says 7 of 7, but there are 5 files 2 dirs
|
||||||
file_details = 7 of 3?!?
|
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
|
|
||||||
|
|||||||
@@ -65,7 +65,7 @@
|
|||||||
|
|
||||||
function KeepDir(row, which)
|
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')
|
$('#kd'+row+'-d'+which).attr('class', 'alert alert-success')
|
||||||
$('#kdid-'+row).val( D[row.toString()+which.toString()] )
|
$('#kdid-'+row).val( D[row.toString()+which.toString()] )
|
||||||
}
|
}
|
||||||
@@ -73,6 +73,6 @@
|
|||||||
// force choose last of each keep file set
|
// force choose last of each keep file set
|
||||||
$('[id$=f1]').each( function () { $(this).siblings( '.alert' ).last().click() } )
|
$('[id$=f1]').each( function () { $(this).siblings( '.alert' ).last().click() } )
|
||||||
// force choose last of each dir set
|
// force choose last of each dir set
|
||||||
$('[id$=d2]').click()
|
$('[id$=d2]').each( function() { $(this).click() } )
|
||||||
</script>
|
</script>
|
||||||
{% endblock script_content %}
|
{% endblock script_content %}
|
||||||
|
|||||||
Reference in New Issue
Block a user