     host = "http://#{location.host}/"
     fallbackUrl = "url(http://www.gravatar.com/avatar/#{profile.hash}?size=30&d=#{encodeURIComponent(host + '/images/defaultavatar/default.avatar.30.png')})"
 
-    @addSubView commenterAvatar = new KDCustomHTMLView 
+    @addSubView commenterAvatar = new KDCustomHTMLView
       tagName : "span"
       partial : "<a href='#' style='background-image:#{fallbackUrl};'></a>"
 

      # autogrow    : yes
      validate    :
        # event       : "keyup"
        rules       : 
          required    : yes 
        messages    :
          required    : "Please type a comment..."
      callback    : @commentInputReceivedEnter

    @attachListeners()
    
  attachListeners:->
    @listenTo
      KDEventTypes:       "Focus"


  resetCommentField:()->
    @getDelegate().handleEvent type : "CommentViewShouldReset"

  otherCommentInputReceivedFocus:(instance)->
    if instance isnt @commentInput
      commentForm = @commentInput.getDelegate()
