mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX Using $extraClass in AutocompleteTextField
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@60092 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
0365bc113f
commit
4f5c4c79fc
@ -20,10 +20,8 @@ class AutocompleteTextField extends TextField {
|
||||
|
||||
function Field() {
|
||||
// Requirements::javascript('sapphire/javascript/AutocompleteTextField.js');
|
||||
$extraClass = $this->extraClass();
|
||||
|
||||
$attributes = array(
|
||||
'class' => "{$this->class} text",
|
||||
'class' => "{$this->class} text " . $this->extraClass(),
|
||||
'type' => 'text',
|
||||
'id' => $this->id(),
|
||||
'name' => $this->name,
|
||||
|
Loading…
Reference in New Issue
Block a user