• Nick Stenning's avatar
    Don't save null permissions/tags/text to drafts store · 40e2b6f3
    Nick Stenning authored
    When saving a draft to the drafts store, don't save changes for fields
    which aren't actually set. This prevents us from accidentally later
    restoring `null` to one of these fields.
    
    Fixes an issue where creating an annotation when logged-out would result
    in a null permissions field.
    40e2b6f3
Name
Last commit
Last update
..
annotation-test.coffee Loading commit data...
excerpt-test.js Loading commit data...
form-input-test.coffee Loading commit data...
form-validate-test.coffee Loading commit data...
group-list-test.js Loading commit data...
publish-annotation-btn-test.js Loading commit data...
search-status-bar-test.js Loading commit data...
share-dialog-test.coffee Loading commit data...
simple-search-test.coffee Loading commit data...
sort-dropdown-test.js Loading commit data...
spinner-test.js Loading commit data...
status-button-test.coffee Loading commit data...
thread-test.coffee Loading commit data...
util.js Loading commit data...
window-scroll-test.js Loading commit data...