From b7e42de7acd8aec4c2399f3267393692b47bbcf6 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Thu, 13 Jul 2017 08:03:09 +0200 Subject: [PATCH] Fix regressions in check_compose_input() --- program/js/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/program/js/app.js b/program/js/app.js index 9947ca0a7..dc48adcf9 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -4457,7 +4457,7 @@ function rcube_webmail() this.check_compose_input = function(cmd, skip_recipients_checks) { var key, - input_subject = $("[name='_subjec']"); + input_subject = $("[name='_subject']"); // check if all files has been uploaded for (key in this.env.attachments) { @@ -4523,7 +4523,7 @@ function rcube_webmail() this.check_compose_address_fields = function(cmd, skip_recipients_checks, form) { if (!form) - form = window; + form = window.document; // check input fields var key, recipients, dialog,