[PR #1150] [MERGED] reset form on add_filter click action #1302

Closed
opened 2026-02-25 21:37:51 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/cypht-org/cypht/pull/1150
Author: @Shadow243
Created: 8/7/2024
Status: Merged
Merged: 8/8/2024
Merged by: @Baraka24

Base: masterHead: sieve-modal-form


📝 Commits (1)

  • 888e5d5 reset form on add_filter click action

📊 Changes

1 file changed (+6 additions, -0 deletions)

View changed files

📝 modules/sievefilters/site.js (+6 -0)

📄 Description

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.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/cypht-org/cypht/pull/1150 **Author:** [@Shadow243](https://github.com/Shadow243) **Created:** 8/7/2024 **Status:** ✅ Merged **Merged:** 8/8/2024 **Merged by:** [@Baraka24](https://github.com/Baraka24) **Base:** `master` ← **Head:** `sieve-modal-form` --- ### 📝 Commits (1) - [`888e5d5`](https://github.com/cypht-org/cypht/commit/888e5d54f04003c4e33cda4d71284fa5823151fa) reset form on add_filter click action ### 📊 Changes **1 file changed** (+6 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `modules/sievefilters/site.js` (+6 -0) </details> ### 📄 Description 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 21:37:51 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cypht#1302
No description provided.