File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
interface/web/themes/default_combobox/templates Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 6767 document . getElementsByTagName ( "head" ) [ 0 ] . appendChild ( style ) ;
6868 }
6969
70+
7071 jQuery ( document ) . ready ( function ( ) {
7172 loadInitContent ( ) ;
7273 } ) ;
7374
7475 //Use jQuery submit with kespress Enter in panel filterbar
75- jQuery ( document ) . bind ( "keypress" , function ( event ) {
76- if ( event . which == '13' && $ ( ".panel #Filter") . length > 0 ) {
77- $ ( ".panel #Filter") . attr ( "onsubmit" , $ ( ".panel #Filter" ) . attr ( "onclick" ) ) . submit ( ) ;
76+ jQuery ( ".panel .list input" ) . live ( "keypress" , function ( event ) {
77+ if ( event . which == '13' && $ ( this ) . parents ( "tr" ) . find ( " #Filter") ) {
78+ $ ( this ) . parents ( "tr" ) . find ( " #Filter") . attr ( "onsubmit" , $ ( ".panel #Filter" ) . attr ( "onclick" ) ) . submit ( ) ;
7879 }
7980 } ) ;
8081
148149 this . button = $ ( "<button type='button'> </button>" )
149150 . attr ( "tabIndex" , - 1 )
150151 . attr ( "title" , "Show All Items" )
152+ . height ( $ ( input ) . outerHeight ( ) )
151153 . insertAfter ( input )
152154 . button ( {
153155 icons : {
You can’t perform that action at this time.
0 commit comments