MAKENTNU / web

The website of the student organization MAKE NTNU, built with Django.
https://makentnu.no
MIT License
9 stars 5 forks source link

Forms with CKEditor fields are unmarked as dirty when clicking another field #562

Open ddabble opened 1 year ago

ddabble commented 1 year ago

Steps to reproduce

  1. Visit a page with both a CKEditor field and a field of another type; https://makentnu.dev/en/contentbox/7/change/ for this example
  2. Add a character anywhere inside the "Content" field
  3. Click the label of the "Title" field (i.e. click on the text that says "Title"), so that the "Title" text input is focused
  4. Reload the page

Expected results

The page should not reload, but instead display a browser-native prompt, asking if the user actually wants to reload/leave the page.


This issue seems to be most likely caused by a bug in the jquery.dirty library.