Commit af0239ab by Giulio Gratta

add confirm dialog to ICE reset changes

parent 0b8058d8
......@@ -47,7 +47,8 @@ class @TrackChanges
reset_changes: (event) =>
event.preventDefault()
@tracker.rejectAll()
if confirm "Are you sure you want to reset your changes?"
@tracker.rejectAll()
undo_change: (event) =>
event.preventDefault()
......
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