File tree Expand file tree Collapse file tree 4 files changed +12
-12
lines changed
default_64_navimg/templates
default_combobox/templates
default_no_navimg/templates Expand file tree Collapse file tree 4 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 7777 } ) ;
7878
7979 //Use jQuery submit with kespress Enter in panel filterbar
80- jQuery ( ".panel .list input" ) . live ( "keypress" , function ( event ) {
81- if ( event . which == '13' && $ ( this ) . parents ( "tr" ) . find ( " #Filter") ) {
82- $ ( this ) . parents ( "tr" ) . find ( " #Filter") . attr ( "onsubmit" , $ ( ".panel #Filter" ) . attr ( "onclick" ) ) . submit ( ) ;
80+ jQuery ( document ) . bind ( "keypress" , function ( event ) {
81+ if ( event . which == '13' && $ ( ".panel #Filter") . length > 0 ) {
82+ $ ( ".panel #Filter") . attr ( "onsubmit" , $ ( ".panel #Filter" ) . attr ( "onclick" ) ) . submit ( ) ;
8383 }
8484 } ) ;
8585
Original file line number Diff line number Diff line change 7777 } ) ;
7878
7979 //Use jQuery submit with kespress Enter in panel filterbar
80- jQuery ( ".panel .list input" ) . live ( "keypress" , function ( event ) {
81- if ( event . which == '13' && $ ( this ) . parents ( "tr" ) . find ( " #Filter") ) {
82- $ ( this ) . parents ( "tr" ) . find ( " #Filter") . attr ( "onsubmit" , $ ( ".panel #Filter" ) . attr ( "onclick" ) ) . submit ( ) ;
80+ jQuery ( document ) . bind ( "keypress" , function ( event ) {
81+ if ( event . which == '13' && $ ( ".panel #Filter") . length > 0 ) {
82+ $ ( ".panel #Filter") . attr ( "onsubmit" , $ ( ".panel #Filter" ) . attr ( "onclick" ) ) . submit ( ) ;
8383 }
8484 } ) ;
8585 </ script >
Original file line number Diff line number Diff line change 7979 } ) ;
8080
8181 //Use jQuery submit with kespress Enter in panel filterbar
82- jQuery ( ".panel .list input" ) . live ( "keypress" , function ( event ) {
83- if ( event . which == '13' && $ ( this ) . parents ( "tr" ) . find ( " #Filter") ) {
84- $ ( this ) . parents ( "tr" ) . find ( " #Filter") . attr ( "onsubmit" , $ ( ".panel #Filter" ) . attr ( "onclick" ) ) . submit ( ) ;
82+ jQuery ( document ) . bind ( "keypress" , function ( event ) {
83+ if ( event . which == '13' && $ ( ".panel #Filter") . length > 0 ) {
84+ $ ( ".panel #Filter") . attr ( "onsubmit" , $ ( ".panel #Filter" ) . attr ( "onclick" ) ) . submit ( ) ;
8585 }
8686 } ) ;
8787
Original file line number Diff line number Diff line change 7777 } ) ;
7878
7979 //Use jQuery submit with kespress Enter in panel filterbar
80- jQuery ( ".panel .list input" ) . live ( "keypress" , function ( event ) {
81- if ( event . which == '13' && $ ( this ) . parents ( "tr" ) . find ( " #Filter") ) {
82- $ ( this ) . parents ( "tr" ) . find ( " #Filter") . attr ( "onsubmit" , $ ( ".panel #Filter" ) . attr ( "onclick" ) ) . submit ( ) ;
80+ jQuery ( document ) . bind ( "keypress" , function ( event ) {
81+ if ( event . which == '13' && $ ( ".panel #Filter") . length > 0 ) {
82+ $ ( ".panel #Filter") . attr ( "onsubmit" , $ ( ".panel #Filter" ) . attr ( "onclick" ) ) . submit ( ) ;
8383 }
8484 } ) ;
8585
You can’t perform that action at this time.
0 commit comments