211
212
this.get(BASE).addClass('moodle-dialogue-confirm');
212
213
this.setStdModContent(Y.WidgetStdMod.BODY, content, Y.WidgetStdMod.REPLACE);
213
this.setStdModContent(Y.WidgetStdMod.HEADER, '<h1 id="moodle-dialogue-'+COUNT+'-header-text">' + this.get(TITLE) + '</h1>', Y.WidgetStdMod.REPLACE);
214
216
this.after('destroyedChange', function(){this.get(BASE).remove();}, this);
215
217
this._enterKeypress = Y.on('key', this.submit, window, 'down:13', this, true);
216
218
this._escKeypress = Y.on('key', this.submit, window, 'down:27', this, false);