     when "seller_code"
       check_and_correct_field $(this), is_valid_seller
 
-register_field = (field )->
+register_field = (field) ->
   $(field).blur input_blur_handler
   $(field).focus(-> $(this).select())
 

#     if e.keyCode == 27
#       $("#cash_overlay").remove()
#   bind_element_to_hotkey "#cash_given_link", "g", display_overlay


TransactionsController = Paloma.controller "Transactions"

        event.stopPropagation()
        event.preventDefault()
        window.location.href = "/transactions"
      if event.keyCode == 38 && $(event.target).is "input"
        event.stopPropagation()
#        event.preventDefault()
        set_last_value(event.target)
    seller_list = $("#seller_list").data("list")
    $(".field input").each ->
      register_field this
