PDA

View Full Version : Button menu and componentQuery



pdillon
29 Nov 2011, 9:54 AM
Sorry if this has been addressed already, but if I have a button with a menu:

1. button.down('menu') - works fine.
2. (in menu click handler) menu.up('button') returns undefined.

menu.floatParent is the button obj, but will componentQuery be updated to traverse floatParent?

mitchellsimoens
29 Nov 2011, 3:22 PM
No because the button doesn't own the menu per-say.