1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-01 17:38:38 +00:00

Merge pull request #5838 from wallabag/feat/mass-action-tag

Add support of mass action to tag entries
This commit is contained in:
Jérémy Benoist 2022-08-22 20:56:04 +02:00 committed by GitHub
commit 2f1f6e9c51
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 88 additions and 2 deletions

View file

@ -222,4 +222,10 @@ $(document).ready(() => {
});
});
}
$('form[name="form_mass_action"] input[name="tags"]').on('keydown', (e) => {
if (e.key === 'Enter') {
e.preventDefault();
$('form[name="form_mass_action"] button[name="tag"]').trigger('click');
}
});
});