-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
将artDialog嵌套使用作为异步通信提示框时在ie8中focus方法出错 #40
Comments
a.com使用iframe包含了b.com.在b.com中使用这个js,那么在ie下面 |
请问你的artDialog版本号是?IE版本是? |
ie10正常模式测试.
|
我是ie8 + artDialog 5.0.4运行上面的例子出错,在ie8以上就没问题,跟了一下发现是后弹出的窗口关闭时试图恢复焦点,可 _activeElement却落在了前一个窗口的Save按钮上,而ajax操作是异步的,前一个窗口在后弹出的窗口关闭时应已经关闭了,有可能就因此出错了 |
已经修复 |
artDialog很不错,不过有个小问题
如果将artDialog嵌套使用,如下面的例子,第一个对话框用于提问,在Save按钮则显示
提示框以进行异步操作,在ie8中
if (_activeElement) {
_activeElement.focus();
}
就出错了,_activeElement的计算是否有更合理的处理?
测试例子
The text was updated successfully, but these errors were encountered: