if you go into a new dir (up or down), offset is put back to 0
This commit is contained in:
@@ -458,7 +458,7 @@ $(document).ready(function() {
|
|||||||
$('#prev').addClass('disabled')
|
$('#prev').addClass('disabled')
|
||||||
$('#prev').prop('disabled', true)
|
$('#prev').prop('disabled', true)
|
||||||
}
|
}
|
||||||
$(".dir").click( function(e) { $('#cwd').val( $(this).attr('dir') ) ; $('#main_form').submit() } )
|
$(".dir").click( function(e) { $('#offset').val(0) ; $('#cwd').val( $(this).attr('dir') ) ; $('#main_form').submit() } )
|
||||||
} )
|
} )
|
||||||
</script>
|
</script>
|
||||||
{% endblock script_content %}
|
{% endblock script_content %}
|
||||||
|
|||||||
Reference in New Issue
Block a user