-
Notifications
You must be signed in to change notification settings - Fork 58
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 notification as seen on clik on it #61
Comments
HTML <a href="#" id="markAsRead{{ loop.index }}">markAsRead</a> JS $('#markAsRead{{ loop.index }}').click(function(){
$.post('{{ mgilet_notification_generate_path('notification_mark_as_seen', item.notifiableEntity, item.notification) }}', function() {
location.reload();
});
}); Hope it helps. |
How do you expect to read the variable |
Yes. |
@beamop So, what's the other way around? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi i'm getting the notification by this code
so what i need is when the current user click on one of this notification that notification has to mark as read and redirect user to another view
what should i do
The text was updated successfully, but these errors were encountered: