enyojs/moonstone — pull request #1673 by dmikey (2014-09-30 17:26:58+00:00)
Title: Fix for Spotlight Tooltips

Programmatically changing spot focus, or moving to 5 way, after Pointer mode is engaged, causes Tooltips to follow positioning based on Spot, and not ownership (tool tips appear over the wrong element).

I added a check to verify that spotlight is engaging the tooltip, and not another event (please check for robustness of this code).

One thing to note, this may appear as a regression on Disabled Buttons, but the Event being cast is from an inner element. This behavior is now consistent with how Tooltips are working on Disabled Icon Buttons, which needs to be addressed in BHV-13377.

I also changed inSender to inEvent.originator to remain consistent with a desire to stay away from inSender.

Enyo-DCO-1.1-Signed-off-by: Derek Anderson