Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Load/reload the Notifications FlyoutMenu using AJAX
Hi there,
As I understand, the Notification menu (notifications popin) is not rendered on page load but it's content and thus the whole menu is loaded on the first click. Correct?
So can anyone help me to understand, how I can basically reload this menu using an AJAX-request (no page load required)?
Looking forward to any hints
Oliver
Tagged:
1
Comments
If you look at the HTML before you first click the notifications item, you see that markup:
The only thing of interest for you is the following:
Into this empty div, the following code is inserted: http://vanillaforums.org/profile/notificationspopin&DeliveryType=VIEW
So what you would have to do is to empty this div and add the code from the link above again.
Thank you @R_J , I think I'll figure it out with this! Amazing