Nach Speichern einer Vorlage die Checkbox "Vorlage löschen" aktivieren.
authorMoritz Bunkus <m.bunkus@linet-services.de>
Thu, 15 Mar 2007 10:23:37 +0000 (10:23 +0000)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Thu, 15 Mar 2007 10:23:37 +0000 (10:23 +0000)
bin/mozilla/drafts.pl

index c10d91a..14cdb25 100644 (file)
@@ -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();