Parcourir la source

fix edit inline window size for date and datetime field

Piotr Labudda il y a 10 ans
Parent
commit
36f0d76e22
1 fichiers modifiés avec 4 ajouts et 1 suppressions
  1. 4 1
      SE/se-lib/TableAjax.php

+ 4 - 1
SE/se-lib/TableAjax.php

@@ -3512,7 +3512,10 @@ function <?php echo $jsToogleFiltrProcesuFunctionName; ?>(n) {
 				$fieldParams['default'] = $vDefault;
 			}
 			echo $this->_acl->showFormItem('W', $fieldID, "f{$fieldID}", $fieldVal, $fieldParams, $row);
-			if ($typeSpecial) {
+			if ($typeSpecial
+					|| $this->_acl->isDateField($fieldName)
+					|| $this->_acl->isDateTimeField($fieldName)
+				 ) {
 				echo '<p style="padding:100px 0;"></p>';
 			}
 		exit;