mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
MDL-60207 javascript: remove click handler in YUI modal initialiser
This commit is contained in:
parent
30e1f5a023
commit
7e0305be70
@ -132,10 +132,6 @@ Y.extend(DIALOGUE, Y.Panel, {
|
||||
// hidden by default. ARIA visibility is managed for modal dialogues.
|
||||
this.get(BASE).set('aria-hidden', 'true');
|
||||
this.plug(Y.M.core.LockScroll);
|
||||
|
||||
var maskNode = this.get('maskNode');
|
||||
maskNode.on('click', this.hide, this);
|
||||
this._currentMaskNodeId = maskNode.get('_yuid');
|
||||
}
|
||||
|
||||
// Workaround upstream YUI bug http://yuilibrary.com/projects/yui3/ticket/2532507
|
||||
|
File diff suppressed because one or more lines are too long
@ -132,10 +132,6 @@ Y.extend(DIALOGUE, Y.Panel, {
|
||||
// hidden by default. ARIA visibility is managed for modal dialogues.
|
||||
this.get(BASE).set('aria-hidden', 'true');
|
||||
this.plug(Y.M.core.LockScroll);
|
||||
|
||||
var maskNode = this.get('maskNode');
|
||||
maskNode.on('click', this.hide, this);
|
||||
this._currentMaskNodeId = maskNode.get('_yuid');
|
||||
}
|
||||
|
||||
// Workaround upstream YUI bug http://yuilibrary.com/projects/yui3/ticket/2532507
|
||||
|
4
lib/yui/src/notification/js/dialogue.js
vendored
4
lib/yui/src/notification/js/dialogue.js
vendored
@ -102,10 +102,6 @@ Y.extend(DIALOGUE, Y.Panel, {
|
||||
// hidden by default. ARIA visibility is managed for modal dialogues.
|
||||
this.get(BASE).set('aria-hidden', 'true');
|
||||
this.plug(Y.M.core.LockScroll);
|
||||
|
||||
var maskNode = this.get('maskNode');
|
||||
maskNode.on('click', this.hide, this);
|
||||
this._currentMaskNodeId = maskNode.get('_yuid');
|
||||
}
|
||||
|
||||
// Workaround upstream YUI bug http://yuilibrary.com/projects/yui3/ticket/2532507
|
||||
|
Loading…
x
Reference in New Issue
Block a user