           $(this).find('input').first().focus()
     )
 
-  $('.fields a.create').live 'click', ->
+  #----------------------------------------------------------------------------
+  # Open new field form
+  $(document).on 'click', '.fields a.create', ->
     $('.edit_field').hide()
     field_group = $(this).closest('.field_group')
     field_group.find('.empty').hide()

    )
    false

  $('.edit_field a.close, .edit_field a.cancel').live 'click', ->
    $(this).closest('.edit_field').hide()
    false

  false

) jQuery

    field_group.find('.create_field').slideDown().find('input[name="field[label]"]').focus()
    false

  #----------------------------------------------------------------------------
  # Close new field form
  $(document).on 'click', '.create_field a.close, .create_field a.cancel', ->
    $(this).closest('.create_field').hide()
    $(this).closest('.field_group').find('.create .arrow').html(crm.COLLAPSED)
    false

  #----------------------------------------------------------------------------
  # Edit an existing field
  $(document).on 'click', '.fields a.edit', ->
    $('.edit_field').hide()
    $.ajax(
        url: $(this).attr('href')
