Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The situation
I have a form with autosave on it. Take the following scenario:
1. When I load the form the 'Ignore / Restore' question pops up.
2. I click 'Ignore'.
3. For some reason I decide to reload the page.
4. The 'Ignore / Restore' popup comes up again.
The problem
I am confused: I have dismissed my autosaved form before, haven't I? Why is it asking me again?
Proposed solution
There should be a checkbox on the autosave settings form: "Remove autosaved form when clicking 'Ignore'"
Comment | File | Size | Author |
---|---|---|---|
#1 | autosave-ignore-2220063-1.patch | 3.58 KB | czigor |
Comments
Comment #1
czigor CreditAttribution: czigor commentedUnfortunately this patch conflicts with other autosave patches so it will need a reroll if they get commited.
Clear the cache after applying this patch.
Comment #2
czigor CreditAttribution: czigor commentedComment #4
czigor CreditAttribution: czigor commented