voidlabs / mosaico

Mosaico - Responsive Email Template Editor
https://mosaico.io
GNU General Public License v3.0
1.68k stars 502 forks source link

[help] Error code: STATUS_BREAKPOINT #688

Closed tiagobernardes closed 1 year ago

tiagobernardes commented 1 year ago

Hi all,

I have a old version of mosaico and recentelly I got a browser problem when call a jquery request to server. When the request takes the html, the browser crash and returning the error: STATUS_BREAKPOINT

Does it have to do with the jquery version (v1.11.3)?

This is my mosaico code:

                 var post = $.post(postUrl, {
                    action: 'email',
                    rcpt: email,
                    //subject: "[test] " + md.key + " - " + md.name,
                    subject: "Test email",
                    html: viewModel.exportHTML()
                }, null, 'html');
                post.fail(function () {
                    console.log("fail", arguments);
                    viewModel.notifier.error(viewModel.t('Unexpected error talking to server: contact us!'));
                });
                post.success(function () {
                    console.log("success", arguments);
                    viewModel.notifier.success(viewModel.t("Test email sent..."));
                });
                post.always(function () {
                    testCmd.enabled(true);
                });