moodle/course/yui
Andrew Robert Nicols 8a185b9ebc MDL-34671 Stop browser receiving escape keydown in modal dialogues
In certain modal dialogues, we listen on the Escape key to close a
dialogue. However, this is still passed to the browser. As a result, if the
browser is in full screen mode and that browser respects the escape key as
a means to exit full screen.

As a result, we need to ensure that we listen for the escape key at keydown
rather than keyup, and additionally prevent the default browser behaviour.

This is a workaround to http://yuilibrary.com/projects/yui3/ticket/2532616
and, should that issue be fixed, it should be removed.
2013-01-28 10:35:26 +00:00
..
coursebase MDL-32824: Make dragdrop work correctly with section titles/links 2012-05-25 11:39:44 +01:00
dragdrop MDL-37430 Course - Make modules created in hidden sections visible when section is made visible. 2013-01-15 11:16:07 +08:00
formatchooser MDL-35768 MDL-36017 code style corrections 2012-11-02 13:53:48 +08:00
modchooser Merge branch 'wip-MDL-37085-master' of git://github.com/marinaglancy/moodle 2013-01-15 16:30:36 +13:00
toolboxes MDL-34671 Stop browser receiving escape keydown in modal dialogues 2013-01-28 10:35:26 +00:00