MDL-43992 Javascript: Remove <return> key listener for confirmation
[moodle.git] / lib / yui / src / notification / js / confirm.js
index 6c4bfaa..ec6cf76 100644 (file)
@@ -38,7 +38,6 @@ Y.extend(CONFIRM, M.core.dialogue, {
                 '<h1 id="moodle-dialogue-'+this.get('COUNT')+'-header-text">' + this.get(TITLE) + '</h1>', Y.WidgetStdMod.REPLACE);
 
         this.closeEvents.push(
-            Y.on('key', this.submit, window, 'down:13', this, true),
             Y.on('key', this.submit, window, 'down:27', this, false),
             yes.on('click', this.submit, this, true),
             no.on('click', this.submit, this, false)