Skip to content

Refactor ConfirmDangerModal into ES module

Mike Greiling requested to merge fix-confirm-danger-modal into master
  • Converts confirm_danger_modal into a proper ES module
  • Converts ConfirmDangerModal into a function rather than a class
  • Removes ConfirmDangerModal global
  • Places event bindings for the modal directly into pages/projects/edit/index.js and pages/groups/edit/index.js since these are the only places they are needed.

related: #38869 (moved)

Edited by Mike Greiling

Merge request reports