Permalink
Browse files

Revert "fix #917 Remove unnecessary body focus in aria.templates.Temp…

…lateCtxt.$focus"

This reverts commit 8fcb182.
  • Loading branch information...
1 parent 847519d commit 82b8cbf1ea1682361fac60ccef35d558c6aa6bba @jakub-g jakub-g committed Jan 24, 2014
View
3 src/aria/templates/TemplateCtxt.js
@@ -1463,6 +1463,9 @@
* @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,6 +39,9 @@ Aria.classDefinition({
},
runTemplateTest : function () {
+ if (aria.core.Browser.isIE8 || aria.core.Browser.isIE7) {
+ this.notifyTemplateTestEnd(); // FIXME!! PTR 06248406
+ }
// clean what was before
this._disposeTestTemplate();

0 comments on commit 82b8cbf

Please sign in to comment.