]>
Commit | Line | Data |
---|---|---|
6527f429 DM |
1 | Ext.define('Ext.rtl.util.FocusableContainer', {\r |
2 | override: 'Ext.util.FocusableContainer',\r | |
3 | \r | |
4 | privates: {\r | |
5 | // Direction reversal here is necessary because right and left arrow\r | |
6 | // are not reversed in RTL like Tab, so pressing left arrow would move\r | |
7 | // focus to the right.\r | |
8 | moveChildFocus: function(e, forward) {\r | |
9 | var fwd = this.getInherited().rtl ? !forward : forward;\r | |
10 | \r | |
11 | return this.callParent([e, fwd]);\r | |
12 | }\r | |
13 | }\r | |
14 | });\r |