Commit 18b5c554 authored by Maxym Borodenko's avatar Maxym Borodenko

Selected accessions not ticked

parent ab21b45e
......@@ -708,6 +708,22 @@
setPageUrl($(".lastPage"), pagedData.totalPages);
$(".pagination-input").find("input").val(page + 1);
$("input[name='filter']").val(JSON.stringify(jsonData));
refreshTickedAccessions();
}
function refreshTickedAccessions() {
$.ajax({
url : '/sel/json/selection',
type : 'GET',
success : function(data) {
if (data.length > 0) {
for (var i = data.length - 1; i >= 0; i--) {
$('.sel[x-aid=' + data[i] + ']').addClass('picked');
}
}
}
});
}
function setPageUrl (element, page) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment