fnagel/jquery-ui — Issue #216: ie8 - "Can't move focus to the control" after AJAX post
Author: ircodebase
Created: 2012-02-14 16:29:49+00:00
State: open

Environment: 2 Dropdowns on page - 1st dropdown does an AJAX post with the post results populating the second dropdown. Upon selecting second dropdown ie8 throws "Can't move focus to the control"

Not sure if this breaks other things but works for my project so far :)

Line 583 of jquery.ui.selectmenu.js

//fix for ie8 bug Can't move focus to second control after ajax postback
//if (link.length) link[0].focus();
if (link.length && !(link.offsetHeight == 0)) link[0].focus();