Skip to content
Browse files

fix #917 Remove unnecessary body focus in aria.templates.TemplateCtxt…

….$focus

This one broke test.aria.templates.keyboardNavigation.TableNavTestCase on IE <= 8
  • Loading branch information...
1 parent 7e5f6c8 commit 8fcb1826e247320e3730a19e9736b2ecee12c148 @fbasso fbasso committed with divdavem Jan 6, 2014
View
3 src/aria/templates/TemplateCtxt.js
@@ -1463,9 +1463,6 @@
* @implements aria.templates.ITemplate
*/
$focus : function (idArray) {
- if (aria.core.Browser.isIE7 || aria.core.Browser.isIE8) {
- Aria.$window.document.body.focus();
- }
var idToFocus;
if (aria.utils.Type.isArray(idArray)) {
idArray = idArray.slice(0);
View
3 test/aria/templates/keyboardNavigation/TableNavTestCase.js
@@ -39,9 +39,6 @@ Aria.classDefinition({
},
runTemplateTest : function () {
- if (aria.core.Browser.isIE8 || aria.core.Browser.isIE7) {
- this.notifyTemplateTestEnd(); // FIXME!! PTR 06248406
- }
// clean what was before
this._disposeTestTemplate();

1 comment on commit 8fcb182

@jakub-g
Aria Templates member

This commit was reverted in 82b8cbf and didn't make it into 1.4.15

Please sign in to comment.
Something went wrong with that request. Please try again.