default 1 год назад
Родитель
Сommit
2ec86d363e
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      html.c

+ 3 - 0
html.c

@@ -3336,6 +3336,9 @@ int html_post_handler(const xs_dict *req, const char *q_path,
         else
         if (strcmp(action, L("Hide")) == 0) { /** **/
             hide(&snac, id);
+
+            /* also delete from the draft list */
+            draft_del(&snac, id);
         }
         else
         if (strcmp(action, L("Limit")) == 0) { /** **/