• Sean Hammond's avatar
    Don't save null permissions/tags/text to drafts store · cbc3b3e6
    Sean Hammond authored
    This is a translation of commit 363134d28cb7ff8d2313278e1b4b6c09b5bf9bed
    from CoffeeScript to JavaScript. Original commit message from
    363134d28cb7ff8d2313278e1b4b6c09b5bf9bed:
    
    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.
    cbc3b3e6
Name
Last commit
Last update
..
test Loading commit data...
annotation.js Loading commit data...
deep-count.coffee Loading commit data...
dropdown-menu-btn.js Loading commit data...
excerpt.js Loading commit data...
form-input.coffee Loading commit data...
form-validate.coffee Loading commit data...
group-list.js Loading commit data...
h-autofocus.js Loading commit data...
markdown.coffee Loading commit data...
publish-annotation-btn.js Loading commit data...
search-status-bar.js Loading commit data...
share-dialog.coffee Loading commit data...
signin-control.js Loading commit data...
simple-search.coffee Loading commit data...
sort-dropdown.js Loading commit data...
spinner.js Loading commit data...
status-button.coffee Loading commit data...
thread-filter.coffee Loading commit data...
thread.coffee Loading commit data...
top-bar.js Loading commit data...
window-scroll.js Loading commit data...