mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Merge pull request #2959 from prototech/ticket/13069
[ticket/13069] Fix timezone location filtering.
This commit is contained in:
commit
2e1aebbc12
1 changed files with 1 additions and 6 deletions
|
@ -782,12 +782,7 @@ phpbb.timezoneSwitchDate = function(keepSelection) {
|
||||||
.insertAfter('#timezone');
|
.insertAfter('#timezone');
|
||||||
} else {
|
} else {
|
||||||
// Copy the content of our backup, so we can remove all unneeded options
|
// Copy the content of our backup, so we can remove all unneeded options
|
||||||
var $replacement = $timezoneCopy.clone();
|
$timezone.html($timezoneCopy.html());
|
||||||
$replacement.attr('id', 'timezone')
|
|
||||||
.css('display', 'block')
|
|
||||||
.attr('name', 'tz');
|
|
||||||
|
|
||||||
$timezone.replaceWith($replacement);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($tzDate.val() !== '') {
|
if ($tzDate.val() !== '') {
|
||||||
|
|
Loading…
Add table
Reference in a new issue