Javascript alert when leaving editor doesn't work
Bug #185422 reported by
Kit Blake
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Silva |
Fix Released
|
Medium
|
Unassigned |
Bug Description
When a Silva Document loads in Kupu, the author cannot leave the screen without getting a javascript alert: "You have unsaved changes. Are you sure you want to leave the editor?". (This happens even if the author hasn't made any changes.)
If the author clicks "Cancel", the author leaves the editor.
If the author clicks "Ok", the author leaves the editor.
Nothing else happens. Once, clicking "Ok" saved the document, but now it does nothing. So let's change the alert to: "You have unsaved changes. Do you want to click a button?" :-) Seriously, we need to either remove the alert or make it really work. The cod is in kupu/kupusaveon
Changed in silva: | |
assignee: | kitblake → aaltepet |
Changed in silva: | |
assignee: | aaltepet → nobody |
Changed in silva: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Can you look at this?