MDL-43992 Javascript: Remove <return> key listener for confirmation
authorAndrew Nicols <andrew@nicols.co.uk>
Wed, 5 Feb 2014 04:14:01 +0000 (12:14 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Fri, 7 Feb 2014 08:35:49 +0000 (16:35 +0800)
commit7e804d0cb403aa6f2aeac769669afed2f28e20c7
treef09528d57a57edd672eb518c3da1ace8da33f9b8
parent974c2cdc03caeb36ba714b9db551fb6c9e9303de
MDL-43992 Javascript: Remove <return> key listener for confirmation

The listener was previously confirming, even when the cancel or 'No'
buttons were selected. However, having the default action as 'Confirm'
seems dangerous in this situation, so removing this option entirely.
lib/yui/build/moodle-core-notification-confirm/moodle-core-notification-confirm-debug.js
lib/yui/build/moodle-core-notification-confirm/moodle-core-notification-confirm-min.js
lib/yui/build/moodle-core-notification-confirm/moodle-core-notification-confirm.js
lib/yui/src/notification/js/confirm.js