Commit af0239ab by Giulio Gratta

add confirm dialog to ICE reset changes

parent 0b8058d8
...@@ -47,6 +47,7 @@ class @TrackChanges ...@@ -47,6 +47,7 @@ class @TrackChanges
reset_changes: (event) => reset_changes: (event) =>
event.preventDefault() event.preventDefault()
if confirm "Are you sure you want to reset your changes?"
@tracker.rejectAll() @tracker.rejectAll()
undo_change: (event) => undo_change: (event) =>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment