X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..6746dc89c47ed01b165cc1152533605f97eb8e8d:/docs/source/FocusManager.html diff --git a/docs/source/FocusManager.html b/docs/source/FocusManager.html index 89a17a13..e8bcac6f 100644 --- a/docs/source/FocusManager.html +++ b/docs/source/FocusManager.html @@ -1,4 +1,21 @@ -
/**
+
+
+
+
+ The source code
+
+
+
+
+
+
+ /**
* @class Ext.FocusManager
The FocusManager is responsible for globally:
@@ -420,10 +437,14 @@ Ext.define('Ext.FocusManager', {
if (!me.focusedCmp || !(parent = me.focusedCmp.up(':focusable'))) {
me.focusEl.focus();
- return;
+ } else {
+ parent.focus();
}
- parent.focus();
+ // In some browsers (Chrome) FocusManager can handle this before other
+ // handlers. Ext Windows have their own Esc key handling, so we need to
+ // return true here to allow the event to bubble.
+ return true;
},
navigateSiblings: function(e, source, parent) {
@@ -856,4 +877,6 @@ Ext.define('Ext.FocusManager', {
safeSetFocus(container);
me.removeDOM();
}
-});
\ No newline at end of file
+});
+
+