mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Update GridFieldAddExistingAutocompleter.php
When saving by hitting enter, was receiving an error message 'Can't handle action "find"' Traced this back to GridFieldAddExistingAutocompleter setting a 'find' action in getHTMLFragments (107) and then not declaring it on line 140
This commit is contained in:
parent
fd9f29c515
commit
f6fc18e369
@ -137,7 +137,7 @@ class GridFieldAddExistingAutocompleter
|
||||
* @return array
|
||||
*/
|
||||
public function getActions($gridField) {
|
||||
return array('addto');
|
||||
return array('addto', 'find');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user