cancel配置成false的疑问 #36

Closed
dengliyan opened this Issue Aug 23, 2013 · 0 comments

Projects

None yet

2 participants

@dengliyan

cancel=false为不显示标题中的关闭按钮,如果是这样设定的话,应该同时也取消esc键的效果。

var cancel=api.config.cancel===false;// 判断是否为cancel

keyCode === 27 && !cancel && api._click('cancel');

@aui 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
e6cb6ac
@aui 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
d22f8e9
@aui aui closed this Nov 9, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment