mirror of
https://github.com/hkalexling/Mango.git
synced 2026-01-24 00:03:14 -05:00
Add multi-select for cards in web interface
This commit is contained in:
@@ -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;
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user