fixed choosing dup dir alert
This commit is contained in:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user