       url: url
       method: "GET"
       async: true
+      beforeSend: (request)->
+        window.App.Members.requests_pool.push(request)
     ).done ->
       $("#tab_loader").hide()
       $("#cards_loader").hide()


      window.App.Members.first_time = false

  save_state: (a_selector)->
    state = { tab_id: a_selector.prop("id"), path: a_selector.prop("href") }
    if window.App.Members.first_time

window.App.Members =
  first_time: true,
  requests_pool: [],

  init: ->
    $("#tab_loader").show()

    $(".members_tabs a").bind "ajax:complete", (event, request) ->
      $("#tab_loader").hide()

    $(".members_tabs a").bind "ajax:beforeSend", (event, request) ->
      window.App.Members.abort_requests()
      window.App.Members.requests_pool.push(request)

    $(document).on "click", ".members_tabs a", ->
      $("#tab_loader, #activity_loader, #cards_loader").show()
