omerfaruk84 / regulome-explorer

Automatically exported from code.google.com/p/regulome-explorer
0 stars 0 forks source link

Enabling 'enter' key for filtering #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. it would be convenient to make the ENTER key the same as the click
Adding the following to the filtering form config would do it.

 keys: [
                                        {
                                        key: [Ext.EventObject.ENTER],
                                        fn: function() {
                                        Ext.ComponentMgr.get('rgx_search_buttonid').fireEvent('click');
                                        }}
                                  ],

Original issue reported on code.google.com by j...@systemsbiology.org on 15 Feb 2012 at 5:24

GoogleCodeExporter commented 9 years ago
Thanks.  That's a handy piece of code.

Original comment by rkreisberg@systemsbiology.org on 15 Feb 2012 at 7:04