2020-06-03, 02:51 AM
2020-06-03, 02:43 PM
If you are talking about the templates,
Every responses that are presented in a modal has their own specific template. They are special and bound to a specific action.
Any other generic modal representation like any action confirmation modal (ex. deleting a post) uses the common modal template called
Every responses that are presented in a modal has their own specific template. They are special and bound to a specific action.
global_no_permission_modal
template is one of those. There are many other specific modal templates, like global_board_offline_modal
, header_welcomeblock_guest_login_modal
, moderation_getip_modal
etc, generally used for a modal representation against an AJAX call.Any other generic modal representation like any action confirmation modal (ex. deleting a post) uses the common modal template called
modal
. This template isn't used for AJAX calls in general and not involved with any server-side process. This template is a common one and supplied with every page load to be used by front-end javascript library function (MyBB.prompt( )
) instantly.2020-06-03, 05:08 PM
Thank you that helps a lot.