     @$element.find('.tagContent').html(tagName)
   setId: (id) ->
     @$element.attr('data-id', id)
+    @tag.setId(id)
   fadeIn: ->
     # TODO: This should pull the current bg color, change to dark, then animate up to the supposed-to color
     #currentBackground = @$element.css('backgroundColor');

  create: ->
    @tag.create().then (response)=>
      @setId(response.what_id)
      @tag.setId(response.what_id)
  remove: ->
    # FIX THIS HERE This if statement is not firing properly
    #if $("#sorting").val() is "1"

    @tagViewClass = tagViewClass
    @addAllCurrentTags()
    
    clickEvent = if (navigator.userAgent.match(/iPad/i)) then "touchstart" else "click"
    
    @$container.find('.tag .close-16').live clickEvent, (event)=>
      @removeTag($(event.currentTarget).parent().data('id'))
    
