Project

General

Profile

Actions

Defect #13017

closed

onbeforeunload lost when fields loaded via AJAX

Added by Matt Rogowski about 11 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

If you enter some text and try and reload the page or go back, you will get the onbeforeunload even show you a warning asking if you want to leave the page. If you change a field that then has to check the requirements of other fields, i.e. Tracker or Status, the AJAX call will reload the fields as expected, but the onbeforeunload is then lost, and reloading the page or clicking back will go through with no warning.

Actions

Also available in: Atom PDF