Fix regressions in check_compose_input()

pull/5859/head
Aleksander Machniak 7 years ago
parent 5ea0d5bfbb
commit b7e42de7ac

@ -4457,7 +4457,7 @@ function rcube_webmail()
this.check_compose_input = function(cmd, skip_recipients_checks) this.check_compose_input = function(cmd, skip_recipients_checks)
{ {
var key, var key,
input_subject = $("[name='_subjec']"); input_subject = $("[name='_subject']");
// check if all files has been uploaded // check if all files has been uploaded
for (key in this.env.attachments) { for (key in this.env.attachments) {
@ -4523,7 +4523,7 @@ function rcube_webmail()
this.check_compose_address_fields = function(cmd, skip_recipients_checks, form) this.check_compose_address_fields = function(cmd, skip_recipients_checks, form)
{ {
if (!form) if (!form)
form = window; form = window.document;
// check input fields // check input fields
var key, recipients, dialog, var key, recipients, dialog,

Loading…
Cancel
Save