     events:
       'drop'              : 'drop'
       'click .field-edit' : 'showPopover'
-      'mouseleave'        : 'hidePopover'
 
     triggers:
       "click .field-delete" : "form:field:delete"


    events:
      'update-sort' : 'updateSort'

    updateSort: (event, model, position) ->
      @trigger "form:component:sort", model, position

    onShow: ->
      $(@itemViewContainer).sortable

    showPopover: (e) ->
      e.preventDefault()
      e.stopPropagation()
      $(".field-edit").popover('destroy')
      popoverView = new Edit.FieldSettings
        model: @model
      popoverView.render()
