     event.stopPropagation()  
     name = $(@).parent().parent().find('td:first').html()
     that = @
-    console.log name
     $.ajax({
       type: 'POST'
       url: '/api/queues/' + name + '/reschedule'

  return {new: () -> return i++ }

$("select").change () ->
  console.log 11111111111
  console.log 'time', $(this).val().substring(0, $(this).val().length-1)
  init()
  #select_value = $(this).val()
  #time = select_value.substring(0, select_value.length-1)
  #setTimeout (-> init()), 1000*time
  


statistics = []
select_index = 0
t = 0

$('select').find("option:nth-child(1)").attr("selected","true")

