Skip to content

Commit de75346

Browse files
committed
addresssing @josenavas comments
1 parent 7906727 commit de75346

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

qiita_pet/static/js/qiita.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -118,15 +118,6 @@ function delete_analysis(aname, analysis_id) {
118118
}
119119
}
120120

121-
/*
122-
* show_hide_process_list will toggle the process/job listing visibility
123-
*/
124-
125-
function show_hide_process_list() {
126-
processing_jobs_vue.update_processing_job_data();
127-
$('#qiita-processing').modal('show');
128-
}
129-
130121
/*
131122
* send_samples_to_analysis send the selected samples for the given artifact ids to analysis
132123
*

qiita_pet/templates/sitebase.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,8 @@
374374
}, 30000);
375375
}
376376
});
377+
378+
$('#qiita-processing').on('shown.bs.modal', processing_jobs_vue.update_processing_job_data());
377379
});
378380

379381
</script>
@@ -476,7 +478,7 @@
476478
</ul>
477479
</li>
478480
<li class="dropdown">
479-
<a href="#" onClick="show_hide_process_list()" id="dflt-sel-info"><span class="glyphicon glyphicon-tasks"></span></a>
481+
<a href="#" data-toggle='modal' data-target='#qiita-processing' id="dflt-sel-info"><span class="glyphicon glyphicon-tasks"></span></a>
480482
</li>
481483
</ul>
482484
<!-- otherwise show the login form -->

0 commit comments

Comments
 (0)