fix #2307 - BootstrapModal no more accessible to plugins

This commit is contained in:
Dele Olajide 2020-10-21 17:32:47 +01:00 committed by JC Brand
parent 646542602f
commit 81f0cb49bb
2 changed files with 2 additions and 0 deletions

View File

@ -37,6 +37,7 @@ Soon we'll deprecate the latter, so prepare now.
- #2092: fixes room list update loop when having the `locked_muc_domain` truthy or `'hidden'` - #2092: fixes room list update loop when having the `locked_muc_domain` truthy or `'hidden'`
- #2285: Rename config option `muc_hats_from_vcard` to [muc_hats](https://conversejs.org/docs/html/configuration.html#muc-hats). Now accepts a list instead of a boolean and allows for more flexible choices regarding user badges. - #2285: Rename config option `muc_hats_from_vcard` to [muc_hats](https://conversejs.org/docs/html/configuration.html#muc-hats). Now accepts a list instead of a boolean and allows for more flexible choices regarding user badges.
- #2304: Custom emojis (stickers) images not shown - #2304: Custom emojis (stickers) images not shown
- #2307: BootstrapModal no more accessible to plugins
- The `trusted` configuration setting has been removed in favor of two new settings: - The `trusted` configuration setting has been removed in favor of two new settings:
[allow_user_trust_override](https://conversejs.org/docs/html/configuration.html#allow-user-trust-override) [allow_user_trust_override](https://conversejs.org/docs/html/configuration.html#allow-user-trust-override)
[clear_cache_on_logout](https://conversejs.org/docs/html/configuration.html#clear-cache-on-logout) [clear_cache_on_logout](https://conversejs.org/docs/html/configuration.html#clear-cache-on-logout)

View File

@ -86,6 +86,7 @@ export const BootstrapModal = View.extend({
} }
}); });
converse.env.BootstrapModal = BootstrapModal; // expose to plugins
export const Confirm = BootstrapModal.extend({ export const Confirm = BootstrapModal.extend({
events: { events: {