Bug 12550 [QA Followup] - Make checking the checkbox load the table of checkouts

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
Kyle Hall 2014-10-01 08:35:40 -04:00 committed by Tomas Cohen Arazi
parent e44b4cbeed
commit b4b9e0d212

View file

@ -128,6 +128,11 @@ $(document).ready(function() {
$('#issues-table').hide();
$('#issues-table-actions').hide();
$('#issues-table-load-immediately').change(function(){
if ( this.checked && typeof issuesTable === 'undefined') {
$('#issues-table-load-now-button').click();
}
});
$('#issues-table-load-now-button').click(function(){
LoadIssuesTable();
return false;