Commit 16c83877 authored by JC Brand's avatar JC Brand

Bugfix. Re-instantiate confirmation promise

parent d895c7fc
......@@ -180,6 +180,7 @@ converse.plugins.add('converse-modal', {
})
confirm = new _converse.Confirm({model});
} else {
confirm.confirmation = u.getResolveablePromise();
confirm.model.set({
'title': title,
'messages': messages,
......@@ -216,6 +217,7 @@ converse.plugins.add('converse-modal', {
})
prompt = new _converse.Prompt({model});
} else {
prompt.confirmation = u.getResolveablePromise();
prompt.model.set({
'title': title,
'messages': messages,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment