]> code.citadel.org Git - citadel.git/commitdiff
cancel button works :)
authorArt Cancro <ajc@citadel.org>
Wed, 19 Oct 2022 16:02:33 +0000 (12:02 -0400)
committerArt Cancro <ajc@citadel.org>
Wed, 19 Oct 2022 16:02:33 +0000 (12:02 -0400)
webcit-ng/static/js/view_mail.js

index e7809a630b7e8dde227b415b494d6943398d3b71..2038ec51e5b95815db7dd446eff36151dd9dc52c 100644 (file)
@@ -251,7 +251,7 @@ function mail_compose(is_quoted, references, msgid) {
                + "<span class=\"ctdl-msg-button\">" + _("Save to Drafts") + "</span>"
                + "<span class=\"ctdl-msg-button\">" + _("Attachments:") + " 0" + "</span>"
                + "<span class=\"ctdl-msg-button\">" + _("Contacts") + "</span>"
-               + "<span class=\"ctdl-msg-button\"><i class=\"fa fa-trash\" style=\"color:red\"></i> " + _("Cancel") + "</span>"
+               + "<span class=\"ctdl-msg-button\" onClick=\"gotoroom(current_room)\"><i class=\"fa fa-trash\" style=\"color:red\"></i> " + _("Cancel") + "</span>"
                + "</div>"
        ;