Page MenuHomePhabricator

[Data loss] Emptying a section by holding backspace navigates away
Closed, ResolvedPublic

Description

  1. Go to https://dev.translatewiki.net/w/i.php?title=Special:ContentTranslation&from=fi&to=en&page=rahasto&debug=true (any CX instance should work)
  2. Click add translation for a paragraph
  3. Place cursor at the end of the text just inserted.
  4. Hold backspace

Observed: Page navigates away to the last visited page when contenteditable disappears after being emptied

Expected: Not navigating away, or at least confirmation about losing current work

Chrome/Linux


Version: master
Severity: major

Details

Reference
bz67288

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:36 AM
bzimport added a project: ContentTranslation.
bzimport set Reference to bz67288.

Change 144921 had a related patch set uploaded by Santhosh:
Warn users when trying to leave the page with unsaved translation

https://gerrit.wikimedia.org/r/144921

Change 144921 merged by jenkins-bot:
Warn users when trying to leave the page with unsaved translation

https://gerrit.wikimedia.org/r/144921