Overview
Comment: | Automatically select if there is only one result |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | dev | 1.0.0-rc3 |
Files: | files | file ages | folders |
SHA1: |
38a82aaff02b55ce673334c1f8cb835c |
User & Date: | bohwaz on 2020-11-30 15:30:38 |
Other Links: | branch diff | manifest | tags |
Context
2020-11-30
| ||
17:00 | Give a type to transfers, debts and credits when migrating (if possible) check-in: c347cd4a83 user: bohwaz tags: dev, 1.0.0-rc3 | |
15:30 | Automatically select if there is only one result check-in: 38a82aaff0 user: bohwaz tags: dev, 1.0.0-rc3 | |
15:05 | Remove payoff transaction type, it wasn't very useful and confusing check-in: 1b33573836 user: bohwaz tags: dev, 1.0.0-rc3 | |
Changes
Modified src/templates/admin/membres/selector.tpl from [ceee27a0b3] to [6df59fc8ca].
︙ | ︙ | |||
35 36 37 38 39 40 41 | }; }); if (buttons.length) { buttons[0].focus(); } | | > > > > | 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | }; }); if (buttons.length) { buttons[0].focus(); } var rows = document.querySelectorAll('table tbody tr'); if (rows.length == 1) { rows[0].querySelector('button').click(); } rows.forEach((e) => { e.classList.add('clickable'); e.onclick = (evt) => { if (evt.target.tagName && evt.target.tagName == 'BUTTON') { return; |
︙ | ︙ |