HubSpot / messenger

Growl-style alerts and messages for your app. #hubspot-open-source
http://github.hubspot.com/messenger/
MIT License
4.02k stars 406 forks source link

how can i show the circle animation when send data to server? #74

Closed noobthinker closed 9 years ago

noobthinker commented 10 years ago

i try a day to let't work. but i find no way to solve this。some body any tips?

dominicrico commented 10 years ago

opts.error({status: 500, readyState: 0, responseText: 0})

your error have to look like the one above, than there will be an auto retry for your ajax call. Or if you want the spinner, just simulate this error and do it like the demo with an if/else statement.

noobthinker commented 10 years ago

thanks.

dominicrico commented 10 years ago

You're welcome!

geekjuice commented 9 years ago

Seems like this issue has been resolved so I'll go ahead an close the issue. :smile: