   $th = $action.closest('th')
 
   # Hide New Button
-  $th.find('a').hide()
+  $th.children('a').hide()
 
   # Append spinner and show Processing
   $th.append($table.data('spinner'))


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

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

      $tr.html($tr.data('inline-form-original-html'))

      $td = $tr.children('.col-actions').first()
      $td.children('svg').remove()

      $td.find('.dropdown-toggle').dropdown('toggle')
      $td.children('.btn-group').show()
      $td.children('a').show()

      $tr.closest('.dataTables_wrapper').removeClass('effective-datatables-inline-expanded')
      $tr.removeClass('effective-datatables-inline-row')
