Commit cca057df by Giulio Gratta

Merge pull request #1395 from edx/giulio/ICE-confirm-reset

Add confirm dialog to ICE reset changes
parents c1450c83 af0239ab
......@@ -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