Page MenuHomePhabricator

Unsaved warning is shown when no edits are made
Closed, ResolvedPublicBUG REPORT

Description

  1. Go to e.g. https://svgtranslate.toolforge.org/File:Tulunadu.svg
  2. Switch the target language to ಕನ್ನಡ (kn) or any other language that already has labels
  3. Do not edit any labels
  4. Note that the localised strings are displayed in the form fields
  5. Try to switch to any other language
  6. Note that the 'unsaved' dialog is shown, even though you didn't edit anything

The unsaved dialog should only show if changes are made (including if they were made previously and saved in localStorage).

Reported at T430577#12069345

Details

Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
Move targetLang fetching to within the change handlertoolforge-repos/svgtranslate!12samwilsonunchanged-testmain
Customize query in GitLab