Skip to content

Commit

Permalink
MDL-79762 core: Add possibility to define modal type for modalform
Browse files Browse the repository at this point in the history
If `moduleName` param is passed in config object for modalform, it will be
used to instantiate modal class, otherwise 'core/modal_save_cancel' is
used.

Co-authored-by: Marina Glancy <marina@moodle.com>
  • Loading branch information
kabalin and marinaglancy committed Oct 25, 2023
1 parent d76e211 commit afe7f76
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/form/amd/build/modalform.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit afe7f76

Please sign in to comment.