Changes between Initial Version and Version 1 of Ticket #33386, comment 2


Ignore:
Timestamp:
Dec 28, 2021, 2:56:28 PM (3 years ago)
Author:
Dlis

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33386, comment 2

    initial v1  
    11Unfortunately, Firefox has a "feature" that is associated with restoring the values of form fields. Sometimes, this behavior does not interact well with hidden fields like fields with CSRF-tokens. For example, a corresponding ticket was created more than 20 years ago (https://bugzilla.mozilla.org/show_bug.cgi?id=46845 ) and opens again from time to time.
     2
     3P. S. You can temporarily fix the problem by including a js-file with a simple sniplet like specified below in order to disable a browser-based autocomplete (https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion) and reset fields to their default states:
     4
     5
     6{{{
     7$('form').attr('autocomplete', 'off').each(function () {
     8        this.reset();
     9});
     10}}}
Back to Top