yiisoft/yii — pull request #3401 by sivir (2014-06-06 13:34:19+00:00)
Title: Prevent processing for both keydown and change events on the same element

Hello! This fix checks that keydown and change event prevented only on the same element. It fixes bug, that can be reproduced this way:
1. Create filter for to field, one filter must be text input, other must be checkbox
2. Open any version of Firefox
3. Input text for search in text field end press Enter. At this moment this script will set variable eventType to 'keydown'
4. Click on checkbox. Filter won't run, because eventType is 'keydown', even though change event called by another element.
I think, it's related to bug #2881 too.