1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-16 03:34:33 +02:00

Fix issue processwire/processwire-issues#1461 using fix suggested by @Radon8472

This commit is contained in:
Ryan Cramer
2021-11-19 10:44:47 -05:00
parent 43347472f3
commit b8172c6605
2 changed files with 3 additions and 1 deletions

View File

@@ -752,6 +752,8 @@ class WireHttp extends Wire {
$request .= "$key: $value\r\n"; $request .= "$key: $value\r\n";
} }
$request .= "Connection: close\r\n";
$response = ''; $response = '';
$errno = ''; $errno = '';
$errstr = ''; $errstr = '';

View File

@@ -311,7 +311,7 @@ class InputfieldDatetimeText extends InputfieldDatetimeType {
if($timeInputFormat == $format) $f->attr('value', $format); if($timeInputFormat == $format) $f->attr('value', $format);
} }
$f->attr('onchange', "$('#Inputfield_timeInputFormat').val($(this).val());"); $f->attr('onchange', "$('#Inputfield_timeInputFormat').val($(this).val());");
$f->collapsed = Inputfield::collapsedBlank; // $f->collapsed = Inputfield::collapsedBlank;
$f->columnWidth = 50; $f->columnWidth = 50;
$fieldset->add($f); $fieldset->add($f);