• Robert Knight's avatar
    Fix behavior when there are multiple unsaved annotations (#95) · e9259a97
    Robert Knight authored
    Fix missing initialization of $orphan flag for new annotations and
    properly account for annotations that do not have IDs in ADD_ANNOTATIONS
    and UPDATE_ANCHOR_STATUS actions.
    
     - Fix ADD_ANNOTATIONS action replacing the first existing unsaved
       annotation when a second unsaved annotation is added
     - Fix UPDATE_ANCHOR_STATUS action not matching annotations without
       IDs (ie. new annotations) correctly.
     - Fix $orphan flag not being initialized for new annotations
    
    Fixes #94
    e9259a97
Name
Last commit
Last update
.github Loading commit data...
docs Loading commit data...
h Loading commit data...
images Loading commit data...
scripts Loading commit data...
.eslintignore Loading commit data...
.eslintrc Loading commit data...
.gitignore Loading commit data...
.npmignore Loading commit data...
.npmrc Loading commit data...
.travis.yml Loading commit data...
CHANGELOG.md Loading commit data...
CODE_OF_CONDUCT Loading commit data...
Jenkinsfile Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
gulpfile.js Loading commit data...
npm-shrinkwrap.json Loading commit data...
package.json Loading commit data...