In the 2012 Google Usability tests we saw one poor user loose his content three times by clicking on links in the user interface. Twice in preview (click links to watch videos), once by clicking on the "Read more" link, and once by clicking on the "Create new comment" link. The third painful loss of content was caused by
Additionally, another participant was able to loose her content by clicking on a link she added into her own content from the preview.
...This is the "optimal solution", because it doesn't bother users who know what they are doing, while it keeps the others from losing their edit, and at the same time the target behaviour of the link doesn't have to be changed.
#40 was committed, then the class name changed for some reason, breaking the JS. It was fixed in #52 and after some improvements a patch was committed to Drupal 8 #58.
#74 Re-introduced the solution of using a JS confirmation modal.
#93 Incorporates feedback in a current patch needing review.
|PASSED: [[SimpleTest]]: [PHP 5.4 MySQL] 66,738 pass(es).|
|PASSED: [[SimpleTest]]: [MySQL] 59,397 pass(es).|
|PASSED: [[SimpleTest]]: [MySQL] 58,837 pass(es).|