File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ /Users/csuich/CloudStack/workspace/ui-plugin/
Original file line number Diff line number Diff line change 8383 . addClass ( 'data-table' )
8484 . appendTo ( $table . parent ( ) )
8585 . append (
86- $table . remove ( )
86+ $table . detach ( )
8787 ) ;
8888 $table = $mainContainer ;
8989 var $theadContainer = $ ( '<div>' ) . addClass ( 'fixed-header' ) . prependTo ( $table ) ;
9090 var $theadTable = $ ( '<table>' ) . appendTo ( $theadContainer ) . attr ( 'nowrap' , 'nowrap' ) ;
91- var $thead = $table . find ( 'thead' ) . remove ( ) . appendTo ( $theadTable ) ;
91+ var $thead = $table . find ( 'thead' ) . detach ( ) . appendTo ( $theadTable ) ;
9292
9393 return $thead ;
9494 } ;
238238 $table . find ( 'tbody' ) . closest ( 'table' ) . addClass ( 'body' ) ;
239239 }
240240
241- $table . find ( 'th' ) . bind ( 'mousemove mouseout' , hoverResizableEvent ) ;
242- $table . find ( 'th' ) . bind ( 'mousedown mousemove mouseup mouseout' , resizeDragEvent ) ;
243- $table . find ( 'th' ) . bind ( 'click' , function ( event ) {
241+ $table . find ( 'th:not(:has(input)) ' ) . bind ( 'mousemove mouseout' , hoverResizableEvent ) ;
242+ $table . find ( 'th:not(:has(input)) ' ) . bind ( 'mousedown mousemove mouseup mouseout' , resizeDragEvent ) ;
243+ $table . find ( 'th:not(:has(input)) ' ) . bind ( 'click' , function ( event ) {
244244 if ( $ ( this ) . hasClass ( 'resizable' ) ) {
245245 return false ;
246246 }
You can’t perform that action at this time.
0 commit comments