 
   tagStateChanged:(state, tagto, post)->
     {JTag} = KD.remote.api
-    JTag.one {"slug" : tagto}, (err, tag)=>
+    JTag.one "slug" : tagto, (err, tag)=>
       if state
         @addTagToPost post, tag
       else

    activity.modify options, (err)->
      KD.showError err if err

  addTagToPost : (activity, tagToAdd, update = no) ->
    if not tagToAdd
      return new KDNotificationView title : "Tag not found!"


    body         += " |#:JTag:#{tagToAdd.getId()}|"

    if tags?.length > 0
      newTags.push id : tag.getId() for tag in tags

    newTags.push id : tagToAdd.getId()

