@innovastudio/contentbuilder 1.4.70 → 1.4.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -3947,14 +3947,15 @@ class Util {
|
|
|
3947
3947
|
dom.appendHtml(builderStuff, html);
|
|
3948
3948
|
modalMessage = builderStuff.querySelector('.modalmessage');
|
|
3949
3949
|
}
|
|
3950
|
-
this.showModal(modalMessage,
|
|
3951
|
-
|
|
3950
|
+
this.showModal(modalMessage, false, () => {
|
|
3951
|
+
modalMessage.parentNode.removeChild(modalMessage);
|
|
3952
|
+
});
|
|
3953
|
+
let buttonok = modalMessage.querySelector('.modalmessage .input-ok');
|
|
3952
3954
|
dom.addEventListener(buttonok, 'click', () => {
|
|
3953
3955
|
this.hideModal(modalMessage);
|
|
3954
|
-
modalMessage.parentNode.removeChild(modalMessage);
|
|
3956
|
+
modalMessage.parentNode.removeChild(modalMessage);
|
|
3955
3957
|
});
|
|
3956
3958
|
}
|
|
3957
|
-
|
|
3958
3959
|
showChoice(message, yestext, callback) {
|
|
3959
3960
|
const dom = this.dom;
|
|
3960
3961
|
let html = '';
|