cypht-org / cypht

Cypht: Lightweight Open Source webmail aggregator [PHP, JS]. Supports IMAP/SMTP, JMAP and soon EWS
http://cypht.org
GNU Lesser General Public License v2.1
1.01k stars 164 forks source link

reset form on add_filter click action #1150

Closed Shadow243 closed 3 months ago

Shadow243 commented 3 months ago

When you click edit filter on sieve_filters page if you cancel(close) the modal and then click Add Filter the form is keeping old data while editing.

In this PR we make sure on Add Filter we reset the form after the modal is opened.

Baraka24 commented 3 months ago

Thanks for fixing this issue @Shadow243.