-
-
Notifications
You must be signed in to change notification settings - Fork 798
Closed
Description
Technical errors occurs when showing a modal dialog extending BootstrapModal.
To Reproduce
Extending BootstrapModal:
const MyModalDialog = BootstrapModal.extend({
id: "my-modal-dialog",
initialize : function() {
...
},
...
});
And showing it:
function showMyDialog(ev) {
ev.preventDefault();
const chatView = getChatViewFromElement(ev.currentTarget);
const myDialogModel = new Model();
_converse.api.modal.show(MyModalDialog, {
'model': myDialogModel,
'chatroomview': chatView
}, ev);
}
Then occurring javascript errors:
Expected behavior
The modal dialog opens without any javascript error.
Metadata
Metadata
Assignees
Labels
No labels