Fixing style errors.

This commit is contained in:
stickler-ci 2023-05-09 14:18:54 +00:00
parent 7c996e97fd
commit 7ae43d7872

View file

@ -1363,8 +1363,8 @@ class FormTicket
}';
// If constant set, allow to send private messages as email
if (empty($conf->global->TICKET_SEND_PRIVATE_EMAIL)) {
print 'jQuery("#send_msg_email").click(function() {
if (empty($conf->global->TICKET_SEND_PRIVATE_EMAIL)) {
print 'jQuery("#send_msg_email").click(function() {
if(jQuery(this).is(":checked")) {
if (jQuery("#private_message").is(":checked")) {
jQuery("#private_message").prop("checked", false).trigger("change");
@ -1384,12 +1384,12 @@ class FormTicket
jQuery(".email_line").hide();
}
});';
}
}
print '});
</script>';
print '<form method="post" name="ticket" enctype="multipart/form-data" action="'.$this->param["returnurl"].'">';
print '<input type="hidden" name="token" value="'.newToken().'">';