Skip to content
This repository has been archived by the owner on Oct 24, 2019. It is now read-only.

Make altering the menu via JS easier #7

Closed
mrclay opened this issue Oct 31, 2013 · 4 comments
Closed

Make altering the menu via JS easier #7

mrclay opened this issue Oct 31, 2013 · 4 comments

Comments

@mrclay
Copy link
Contributor

mrclay commented Oct 31, 2013

Now that the menus can arrive at any time, this makes it difficult to reliably alter the menu via JS. (In my case I need to make a backend call to CometChat to see if the user is online and if so alter an item.)

It would be handy to have a hook fire when the menu was added to the DOM. Ideally the hook would also receive the GUID of the user.

@jdalsem
Copy link
Member

jdalsem commented Oct 31, 2013

Feel free to provide a PR

@Srokap
Copy link

Srokap commented Oct 31, 2013

We need to make sure that such hooks fire regardless of the way menu was added to the DOM, ie. rendered with whole page or added later via ajax.

@mrclay
Copy link
Contributor Author

mrclay commented Oct 31, 2013

Yeah. I linked this to the core ticket so we could discuss that there

@jdalsem
Copy link
Member

jdalsem commented Jul 8, 2015

Closing this as core now delivers the hover menu via ajax, which makes this plugin obsolete

@jdalsem jdalsem closed this as completed Jul 8, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

3 participants