Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make loadFlashFromCookies accessible from outside #11

Closed
lulalala opened this issue Jan 7, 2014 · 3 comments
Closed

Make loadFlashFromCookies accessible from outside #11

lulalala opened this issue Jan 7, 2014 · 3 comments

Comments

@lulalala
Copy link
Contributor

lulalala commented Jan 7, 2014

Is it possible to make loadFlashFromCookies accessible globally?

I am trying to integrate this with Angular.js. Since it is not using jQuery, its ajax calls will not be noticed by unobtrusive_flash. If I can access the loadFlashFromCookies from else where, I should be able to hook it into Angular.js too.

@leonid-shevtsov
Copy link
Owner

Sure! This looks like a good idea.

@leonid-shevtsov
Copy link
Owner

Please update to v3.0.0 and call UnobtrusiveFlash.loadFlashFromCookies()

@lulalala
Copy link
Contributor Author

lulalala commented Mar 8, 2014

Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants