Project

General

Profile

Bug #24574 » 17035.diff

Administrator Admin, 2011-01-14 17:58

View differences:

t3lib/class.t3lib_tceforms.php (revision )
);
// old function "checkbox" now the option to set the date / remove the date
if (isset($config['checkbox'])) {
$item .= t3lib_iconWorks::getSpriteIcon('actions-input-clear', array('tag' => 'a', 'class' => 't3-tceforms-input-clearer', 'onclick' => 'document.getElementById(\'' . $inputId . '\').value=\'\';' . implode('', $PA['fieldChangeFunc'])));
$item .= t3lib_iconWorks::getSpriteIcon('actions-input-clear', array('tag' => 'a', 'class' => 't3-tceforms-input-clearer', 'onclick' => 'document.getElementById(\'' . $inputId . '\').value=\'\';document.getElementById(\'' . $inputId . '\').focus();' . implode('', $PA['fieldChangeFunc'])));
}
$mLgd = ($config['max'] ? $config['max'] : 256);
$iOnChange = implode('', $PA['fieldChangeFunc']);
typo3/sysext/t3skin/stylesheets/visual/element_tceforms.css (revision )
.t3-tceforms-input-wrapper-hover .t3-tceforms-input-clearer {
position: absolute;
right: 4px;
top: 6px;
top: 28%;
z-index: 1000;
cursor: pointer;
}
......
.t3-tceforms-input-wrapper-datetime-hover .t3-tceforms-input-clearer {
position: absolute;
right: 24px;
top: 6px;
top: 28%;
z-index: 1000;
cursor: pointer;
}
(1-1/2)