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:
sam marshall 2014-04-08 10:21:31 +01:00
parent af8a43248e
commit 0a8de7f6c8
4 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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);
};
/**

View File

@ -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);
};
/**