       $table = $(this).closest('table')
 
       $actions = $table.children('thead').find('th.col-actions')
-      $actions.find('svg').remove()
-      $actions.find('a').fadeIn()
+      $actions.children('svg').remove()
+      $actions.children('a').fadeIn()
 
       $table.closest('.dataTables_wrapper').removeClass('effective-datatables-inline-expanded')
       $(this).remove()

  $th = $action.closest('th')

  # Hide New Button
  $th.find('a').hide()

  # Append spinner and show Processing
  $th.append($table.data('spinner'))


  # Hide dropdown
  $td.find('.dropdown-toggle').dropdown('toggle')
  $td.children('.btn-group').hide()
  $td.children('a').hide()

  # Append spinner and show Processing
  $td.append($table.data('spinner'))
