ehpc / bootstrap-waitingfor

"Waiting for..." modal dialog with progress bar for Bootstrap
MIT License
138 stars 82 forks source link

Not loading properly in Safari 10.0.2 #19

Open JonTheWong opened 7 years ago

JonTheWong commented 7 years ago

Hello,

I'm having an issue with this plugin in Safari 10.0.2 on macOS

code works well on Firefox and Chrome but while testing in Safari the popup doesn't load on click, only loads after page redirects.

<a class="btn btn-lg btn-block btn-warning" onclick="{literal}waitingDialog.show();setTimeout(function () {waitingDialog.hide();}, 3000);{/literal}" href="{#domainnamesslportal#}

*using smarty v3 hence the literal / # code

If i click on the link and stop the page from loading then the popup launches.

Using JQuery 3.1.1

boscomateo commented 7 years ago

same here

deedeky commented 6 years ago

Hi all, is there any development regarding this issue? I'm experiencing the same behavior as Jon described - only on Safari. Additionally, I get in client console:

XMLHttpRequest cannot load http://address.xxx.xxx due to access control checks.

This is pointing that some of the Cors configuration is not right but I've tried it all and still it stays the same.

Thanks.

Cheers, Dejan