Error in set focused widget
Error in set focused widget

If you call `$setFocusedWidget` while the template is added to the page (forst $beforeRefresh) the focused element is `html` in IE9.
This throws an error.
Now we check if the focused element is actually inside the DOM (child of body)

fbasso/ariatemplates,lsimone/ariatemplates,fbasso/ariatemplates,simonarbuckle/ariatemplates,mlaval/ariatemplates,lsimone/ariatemplates,divdavem/ariatemplates,vcarle/ariatemplates,fcapa/aria,vcarle/ariatemplates,mlaval/ariatemplates,ymeine/ariatemplates,flongo/ariatemplates,ariatemplates/ariatemplates,divdavem/ariatemplates,mlaval/ariatemplates,fcapa/aria,simonarbuckle/ariatemplates,ariatemplates/ariatemplates,benouat/ariatemplates,fbasso/ariatemplates,benouat/ariatemplates,ymeine/ariatemplates,ariatemplates/ariatemplates,ymeine/ariatemplates,vcarle/ariatemplates,fcapa/aria,divdavem/ariatemplates,benouat/ariatemplates,simonarbuckle/ariatemplates