1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/14492] Add missing event variable

PHPBB3-14492
This commit is contained in:
Marc Alexander
2016-09-03 10:47:20 +02:00
parent e02aca8399
commit afe16a6272

View File

@@ -10,7 +10,7 @@ phpbb.prepareSendStats = function () {
var $dark = $('#darkenwrapper'); var $dark = $('#darkenwrapper');
var $loadingIndicator; var $loadingIndicator;
$form.on('submit', function () { $form.on('submit', function (event) {
var $this = $(this), var $this = $(this),
currentTime = Math.floor(new Date().getTime() / 1000), currentTime = Math.floor(new Date().getTime() / 1000),
statsTime = parseInt($this.find('input[name=help_send_statistics_time]').val(), 10); statsTime = parseInt($this.find('input[name=help_send_statistics_time]').val(), 10);