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

内容中存在data-id属性会出现点击就关闭是BUG不? #78

Closed
sjbwylbs opened this Issue Mar 12, 2014 · 1 comment

Comments

Projects
None yet
3 participants
@sjbwylbs

sjbwylbs commented Mar 12, 2014

问题代码:
$popup.on('click', '[data-id]', function (event) {
var $this = $(this);
if (!$this.attr('disabled')) {// IE BUG
that._trigger($this.data('id'));
}
event.preventDefault();
});

aui pushed a commit that referenced this issue Mar 16, 2014

唐斌
v6.0.1
1. 进一步完善焦点管理,避免抢夺开发者自己设置的焦点#67
2. 修复对话框内容使用 html5 data-id 属性冲突的问题#78
3. 改善 Esc 快捷键与 cancel 的问题#36

aui pushed a commit that referenced this issue Mar 16, 2014

唐斌
v6.0.1
1. 进一步完善焦点管理,避免抢夺开发者自己设置的焦点#67
2. 修复对话框内容使用 html5 data-id 属性冲突的问题#78
3. 改善 Esc 快捷键与 cancel 的问题#36

@aui aui closed this Mar 16, 2014

@wenyuking

This comment has been minimized.

Show comment
Hide comment
@wenyuking

wenyuking Sep 12, 2014

下载了最新的版本data-id的冲突依旧存在,建议将data-id中的id改成其他的。这样就不会引起冲突了

wenyuking commented Sep 12, 2014

下载了最新的版本data-id的冲突依旧存在,建议将data-id中的id改成其他的。这样就不会引起冲突了

aui pushed a commit that referenced this issue Oct 5, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment