Suggestion: allow users to delete a saved draft from the posting form

BethrynBethryn Unhappiness is MandatoryRegistered User regular
It seems unnecessarily cumbersome to have to go back to the main page, go to your drafts and delete one every time you decide that you don't want to post what you've written.

If you're going to let users save and delete drafts, please make it easy for them to manage them, Vanilla.

...and of course, as always, Kill Hitler.
Bethryn on


  • Options
    DelzhandDelzhand Hard to miss. Registered User regular
  • Options
    BarrakkethBarrakketh Registered User regular
    Delzhand wrote: »
    FWIW, that changed a little after the recent-ish big forum downtime:
    $('<a href="#" id="PAT_Delete_Draft">Delete Draft</a>')
             .css({'margin': '0 6px'})
            .insertAfter($('div.Buttons > a.DraftButton'));
        $('#PAT_Delete_Draft').click(function (e) {
           var textarea = $('#Form_Body');
           var draft_id = $('#Form_DraftID').attr('value');
           var trans_key = $('#Form_TransientKey').attr('value');
           if (draft_id) {
               var uri = '/vanilla/drafts/delete/{0}/{1}?Target=drafts'.format(draft_id, trans_key);
                   {url: uri,
                   type: 'GET',
                   data: {DeliveryType: 'BOOL'},
                   success: function (data) {
           else {

    Rollers are red, chargers are blue....omae wa mou shindeiru
  • Options
    IcyLiquidIcyLiquid Two Steaks Montreal, QuebecAdministrator, Vanilla Staff vanilla
    We have plans to make the 'Cancel' button just do this.

Sign In or Register to comment.