• Robert Knight's avatar
    Add test for discarding of drafts when annotations are saved · e4a1a91b
    Robert Knight authored
    The logic for handling this case in the controller is slightly
    indirect. The draft is discarded not when the call to update
    the annotation on the server succeeds but whenever the client
    is notified that an annotation update has been committed,
    signified via its 'updated' property changing.
    
    This happens both for saves triggered locally and also
    updates made in other H instances.
    e4a1a91b
annotation-test.coffee 29.2 KB