Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/views/pages/post-edit.ejs

    rfb9a8ad r3ca7bdf  
    208208        <%# Hidden field is what actually submits to the server. The visible
    209209            contenteditable's serialized HTML is copied here on submit. %>
    210         <input type="hidden" name="content" id="content-hidden" value="">
     210        <%# value = de BESTAANDE inhoud: laadt de module niet (oude cache, js uit),
     211    dan slaat het formulier de post ongewijzigd op in plaats van hem te wissen. %>
     212        <input type="hidden" name="content" id="content-hidden" value="<%= post.content || '' %>">
    211213
    212214        <%# Initial content is injected as a JSON string in a script tag so we
Note: See TracChangeset for help on using the changeset viewer.