mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
MDL-44992 Conditional availability tab focus bug
Tabbing through the eye icon triggered it to change. Corrected by making it work the same way as the delete icon (Enter key to change).
This commit is contained in:
parent
af8a43248e
commit
0a8de7f6c8
@ -958,7 +958,7 @@ M.core_availability.EyeIcon = function(individual, shown) {
|
||||
M.core_availability.form.update();
|
||||
};
|
||||
hideButton.on('click', click, this);
|
||||
hideButton.on('keyup', click, this);
|
||||
hideButton.on('key', click, 'up:enter', this);
|
||||
};
|
||||
|
||||
/**
|
||||
|
File diff suppressed because one or more lines are too long
@ -958,7 +958,7 @@ M.core_availability.EyeIcon = function(individual, shown) {
|
||||
M.core_availability.form.update();
|
||||
};
|
||||
hideButton.on('click', click, this);
|
||||
hideButton.on('keyup', click, this);
|
||||
hideButton.on('key', click, 'up:enter', this);
|
||||
};
|
||||
|
||||
/**
|
||||
|
2
availability/yui/src/form/js/form.js
vendored
2
availability/yui/src/form/js/form.js
vendored
@ -956,7 +956,7 @@ M.core_availability.EyeIcon = function(individual, shown) {
|
||||
M.core_availability.form.update();
|
||||
};
|
||||
hideButton.on('click', click, this);
|
||||
hideButton.on('keyup', click, this);
|
||||
hideButton.on('key', click, 'up:enter', this);
|
||||
};
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user