Skip to content
  • Daniel Gerhardt's avatar
    Fix file upload dialog for comment editing · 32d82cab102f
    Daniel Gerhardt authored
    This fixes the file upload dialog which currently works for new comments
    but not for comment editing. The cause for this is a missing DOM class
    which causes traversal to the dropzone to fail.
    
    This is fixed by adding the expected `gfm-form` class to the edit form.
    It has to be added dynamically since adding it to the form template
    would break the form's layout and comment saving.
    32d82cab102f