canvas-lms/ui-build/webpack-for-karma
Jonathan Guardado 9d57591ca5 Add confirmation prompt when restoring page revision
Add a confirmation modal when restoring a revision.

closes: LS-3179
flag= none

Test plan:

- Create a new page in a course
- Set that page as front page
- Make a change in the page body
- Go to the page history
- Look for the previous revision and click the “Restore this
revision” link
- Expect a confirmation modal to appear.
- Click Restore and expect the page to be updated to the previous
revision.

Change-Id: I20f1ed6fa29c3c8404f4ff199c9836ee6c780f32
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/292322
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Ed Schiebel <eschiebel@instructure.com>
Reviewed-by: Ed Schiebel <eschiebel@instructure.com>
Product-Review: Allison Howell <allison.howell@instructure.com>
2022-05-27 20:13:10 +00:00
..
PluginSpecsRunner.js babel independence(2): karma 2022-02-07 18:48:18 +00:00
index.js Add confirmation prompt when restoring page revision 2022-05-27 20:13:10 +00:00
partitioning.js babel independence(2): karma 2022-02-07 18:48:18 +00:00