mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 20:49:20 +03:00
Sieve Scripts use radio buttons to prevent confusion
This commit is contained in:
parent
723ebc4055
commit
ddb95b925d
2 changed files with 6 additions and 10 deletions
|
|
@ -43,7 +43,7 @@ export class UserSettingsFilters /*extends AbstractViewSettings*/ {
|
|||
|
||||
onBuild(oDom) {
|
||||
oDom.addEventListener('click', event => {
|
||||
const el = event.target.closestWithin('.script-item .e-action', oDom),
|
||||
const el = event.target.closestWithin('.script-item .script-name', oDom),
|
||||
script = el && ko.dataFor(el);
|
||||
script && this.editScript(script);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue