File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed 
src/DebugBar/Resources/widgets/sqlqueries Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 116116                        } 
117117                    } 
118118                } 
119-                 if  ( typeof ( stmt . is_success )  !=  'undefined'  &&  ! stmt . is_success )  { 
120-                     li . addClass ( csscls ( 'error' ) ) ; 
121-                     li . append ( $ ( '<span />' ) . addClass ( csscls ( 'error' ) ) . text ( "["  +  stmt . error_code  +  "] "  +  stmt . error_message ) ) ; 
122-                 } 
123119                if  ( ( ! stmt . type  ||  stmt . type  ===  'query' ) )  { 
124120                    $ ( '<span title="Copy to clipboard" />' ) 
125121                        . addClass ( csscls ( 'copy-clipboard' ) ) 
142138                    } ) . addClass ( csscls ( 'editor-link' ) ) . appendTo ( header ) ; 
143139                    header . appendTo ( li ) ; 
144140                } 
141+                 if  ( typeof ( stmt . is_success )  !=  'undefined'  &&  ! stmt . is_success )  { 
142+                     li . addClass ( csscls ( 'error' ) ) ; 
143+                     li . append ( $ ( '<span />' ) . addClass ( csscls ( 'error' ) ) . text ( "["  +  stmt . error_code  +  "] "  +  stmt . error_message ) ) ; 
144+                 } 
145145                var  table  =  $ ( '<table></table>' ) . addClass ( csscls ( 'params' ) ) ; 
146146                if  ( stmt . params  &&  ! $ . isEmptyObject ( stmt . params ) )  { 
147147                    self . renderList ( 'Params' ,  'thumb-tack' ,  stmt . params ) . appendTo ( table ) ; 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments