Fixed the remaining bugs that kept Drafts from working properly
authorArt Cancro <ajc@uncensored.citadel.org>
Thu, 25 Aug 2011 21:28:18 +0000 (17:28 -0400)
committerWilfried Goesgens <dothebart@citadel.org>
Sun, 4 Sep 2011 21:56:20 +0000 (21:56 +0000)
webcit/messages.c

index cb9001d050c7e4af5a038d22b8c864acbd8c3afb..3518737af0b89acbd855cac11a716c048ab0f09b 100644 (file)
@@ -1010,7 +1010,7 @@ void post_message(void)
                int saving_to_drafts = 0;
                long HeaderLen = 0;
 
-               saving_to_drafts = !strcasecmp(bstr("submit_action"), "drafts");
+               saving_to_drafts = !strcasecmp(bstr("submit_action"), "draft");
                Buf = NewStrBuf();
 
                if (saving_to_drafts) {
@@ -1113,7 +1113,7 @@ void post_message(void)
                                if (saving_to_drafts) {
                                        AppendImportantMessage(_("Message has been saved to Drafts.\n"), -1);
                                        gotoroom(WCC->CurRoom.name);
-                                       display_enter();
+                                       readloop(readnew, eUseDefault);
                                        FreeStrBuf(&Buf);
                                        return;
                                } else if (  (havebstr("recp"))