         LocalAnnotation.documents.update @_id,
           $unset:
             editing: ''
-
-        focusAnnotationId = @_id
 
         Meteor.Router.toNew Meteor.Router.annotationPath Session.get('currentPublicationId'), Session.get('currentPublicationSlug'), @_id
 

currentPublication = null
publicationHandle = null
publicationCacheHandle = null

# If set to an annotation id, focus on next render
focusAnnotationId = null

# We use our own reactive variable for publicationDOMReady and not Session to
# make sure it is not preserved when site autoreloads (because of a code change).

      # TODO: Does Meteor triggers removal if insertion was unsuccessful, so that we do not have to do anything?
      return Notify.meteorError error, true if error

      Meteor.Router.toNew Meteor.Router.annotationPath Session.get('currentPublicationId'), Session.get('currentPublicationSlug'), annotationId

    return # Make sure CoffeeScript does not return anything
