enyojs/enyo — pull request #132 by sugardave (2012-08-21 22:17:45+00:00)
Title: ENYO-726: fixing popup behavior for drag events

Enyo-DCO-1.0-Signed-off-by: Dave Freeman

This could definitely use some more eyes/testing. The Sampler exposed a few weaknesses with Popups and drag events and it is confusing when non-modal Popups have scrims. This change adds listeners for onmousedown and ondragstart and handles most cases correctly.