Bug #21076 ยป 11983.diff
t3lib/tceforms/class.t3lib_tceforms_suggest.php (working copy) | ||
---|---|---|
<div class="' . $containerCssClass . '" id="' . $suggestId . '">
|
||
<input type="text" id="' . $fieldname . 'Suggest" value="' .
|
||
$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:labels.findRecord') . '" class="' . $this->cssClass . '-search" />
|
||
<div class="' . $this->cssClass . '-indicator" style="display: none;" id="' . $fieldname . 'SuggestIndicator"><img src="' . $GLOBALS['BACK_PATH'] . 'gfx/spinner.gif" alt="Searching..." /></div>
|
||
<div class="' . $this->cssClass . '-choices" style="display: none;" id="' . $fieldname . 'SuggestChoices"></div>
|
||
</div>';
|
t3lib/js/jsfunc.tceforms_suggest.js (working copy) | ||
---|---|---|
paramName: 'value',
|
||
minChars: (minimumCharacters ? minimumCharacters : this.minimumCharacters),
|
||
updateElement: this.addElementToList.bind(this),
|
||
parameters: 'ajaxID=t3lib_TCEforms_suggest::searchRecord&table=' + table + '&field=' + field + '&uid=' + uid + '&pid=' + pid
|
||
parameters: 'ajaxID=t3lib_TCEforms_suggest::searchRecord&table=' + table + '&field=' + field + '&uid=' + uid + '&pid=' + pid,
|
||
indicator: objectId + 'SuggestIndicator'
|
||
}
|
||
);
|
||
|
||
$(this.suggestField).observe('focus', this.checkDefaultValue.bind(this));
|
||
$(this.suggestField).observe('keydown', this.checkDefaultValue.bind(this));
|
||
},
|
typo3/stylesheet.css (working copy) | ||
---|---|---|
margin: 1px 10px 0 0;
|
||
}
|
||
div.typo3-TCEforms-suggest-indicator {
|
||
position: relative;
|
||
left: 230px;
|
||
top: -18px;
|
||
}
|
||
div.typo3-TCEforms-suggest-choices {
|
||
position: absolute;
|
||
width: 250px;
|
||
... | ... | |
border: 1px dotted #666;
|
||
}
|
||
*/
|
||