Add multi-select for cards in web interface

This commit is contained in:
Alex Ling
2020-07-30 08:32:00 +00:00
parent d4abee52db
commit e4fd7c58ee
3 changed files with 23 additions and 3 deletions

View File

@@ -182,3 +182,11 @@ const setupUpload = (eid) => {
}
});
};
const deselectAll = () => {
$('.item .uk-card').each((i, e) => {
const data = e.__x.$data;
if (!data['disabled'])
data['selected'] = false;
});
};