diff --git a/composer.lock b/composer.lock index 1e9215c2e..b6e623fac 100644 --- a/composer.lock +++ b/composer.lock @@ -1467,16 +1467,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.10.25", + "version": "1.10.27", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "578f4e70d117f9a90699324c555922800ac38d8c" + "reference": "a9f44dcea06f59d1363b100bb29f297b311fa640" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/578f4e70d117f9a90699324c555922800ac38d8c", - "reference": "578f4e70d117f9a90699324c555922800ac38d8c", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/a9f44dcea06f59d1363b100bb29f297b311fa640", + "reference": "a9f44dcea06f59d1363b100bb29f297b311fa640", "shasum": "" }, "require": { @@ -1525,7 +1525,7 @@ "type": "tidelift" } ], - "time": "2023-07-06T12:11:37+00:00" + "time": "2023-08-05T09:57:55+00:00" }, { "name": "phpunit/php-code-coverage", @@ -4227,16 +4227,16 @@ }, { "name": "symfony/process", - "version": "v5.4.24", + "version": "v5.4.26", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "e3c46cc5689c8782944274bb30702106ecbe3b64" + "reference": "1a44dc377ec86a50fab40d066cd061e28a6b482f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/e3c46cc5689c8782944274bb30702106ecbe3b64", - "reference": "e3c46cc5689c8782944274bb30702106ecbe3b64", + "url": "https://api.github.com/repos/symfony/process/zipball/1a44dc377ec86a50fab40d066cd061e28a6b482f", + "reference": "1a44dc377ec86a50fab40d066cd061e28a6b482f", "shasum": "" }, "require": { @@ -4269,7 +4269,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v5.4.24" + "source": "https://github.com/symfony/process/tree/v5.4.26" }, "funding": [ { @@ -4285,7 +4285,7 @@ "type": "tidelift" } ], - "time": "2023-05-17T11:26:05+00:00" + "time": "2023-07-12T15:44:31+00:00" }, { "name": "symfony/service-contracts", diff --git a/js/onoffice-honeypot.js b/js/onoffice-honeypot.js index dabcd3c3a..ae73d3eb0 100644 --- a/js/onoffice-honeypot.js +++ b/js/onoffice-honeypot.js @@ -1,23 +1,41 @@ -var form = form || {}; -form.type = form.type || ''; jQuery(document).ready(function ($) { - if (honeypot_enabled['honeypotValue'] == true && form.type !== '' && form.type !== 'applicantsearch') { - var messageTextarea = $('textarea[name="message"]'); - var messageInput = $('input[name="message"]'); - if(messageTextarea.length === 1){ - messageTextarea.attr('name', 'tmpField'); - } else if (messageInput.length === 1) { - messageInput.attr('name', 'tmpField'); - } - var label = $('