File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 156156 if ( handle !== null ) {
157157 if ( 'icon' in handle ) img1 = handle . icon ;
158158 if ( 'icon2' in handle ) img2 = handle . icon2 ;
159- if ( ( 'func' in handle ) || ( 'execute' in handle ) || ( 'aslink' in handle ) || ( 'expand' in handle ) ) can_click = true ;
159+ if ( ( 'func' in handle ) || ( 'execute' in handle ) || ( 'aslink' in handle ) ||
160+ ( ( 'expand' in handle ) && ( hitem . _more !== false ) ) ) can_click = true ;
160161 }
161162
162-
163163 if ( '_icon' in hitem ) img1 = hitem . _icon ;
164164 if ( '_icon2' in hitem ) img2 = hitem . _icon2 ;
165165 if ( ( img1 . length == 0 ) && ( '_online' in hitem ) )
Original file line number Diff line number Diff line change 66696669 var simple = false ;
66706670
66716671 if ( ( proto . lastIndexOf ( 'Array]' ) == proto . length - 6 ) && ( proto . indexOf ( '[object' ) == 0 ) ) {
6672+ item . _title = item . _kind + " len=" + fld . length ;
66726673 simple = ( proto != '[object Array]' ) ;
66736674 if ( fld . length == 0 ) {
66746675 item . _value = "[ ]" ;
6676+ item . _more = false ;
66756677 } else {
66766678 item . _value = "[...]" ;
66776679 item . _more = true ;
You can’t perform that action at this time.
0 commit comments