Permalink
Browse files

Revert "`id` property better reflects create vs update"

This reverts commit 5374054.
  • Loading branch information...
1 parent 5374054 commit 8bfcbfc0463758e049a85630268bbbd15e173929 @tilgovi tilgovi committed Jul 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/annotator.coffee
View
@@ -496,7 +496,7 @@ class Annotator extends Delegator
onEditorSubmit: (annotation) =>
this.publish('annotationEditorSubmit', [@editor, annotation])
- if annotation.id == undefined
+ if annotation.ranges == undefined
this.setupAnnotation(annotation)
else
this.updateAnnotation(annotation)

0 comments on commit 8bfcbfc

Please sign in to comment.