X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fdrafts.pl;fp=bin%2Fmozilla%2Fdrafts.pl;h=14cdb25948560b57c5ebc8b065173b976302906a;hb=50c5869b3bd2938aa7ddf395e1a82ac252a8be83;hp=c10d91afe32871c1262dc807b7449b3ea13c48c9;hpb=55f47cfa6e043ae8d0c34b8a81daf4610f71f75a;p=kivitendo-erp.git diff --git a/bin/mozilla/drafts.pl b/bin/mozilla/drafts.pl index c10d91afe..14cdb2594 100644 --- a/bin/mozilla/drafts.pl +++ b/bin/mozilla/drafts.pl @@ -17,6 +17,7 @@ sub save_draft { if (!$form->{draft_id} && !$form->{draft_description}) { restore_form($form->{SAVED_FORM}, 1) if ($form->{SAVED_FORM}); delete($form->{SAVED_FORM}); + $form->{remove_draft} = 1; $form->{SAVED_FORM} = save_form(); $form->header();