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:
Jonathan Little 2016-06-29 10:58:06 +01:00 committed by GitHub
parent fd9f29c515
commit f6fc18e369

View File

@ -137,7 +137,7 @@ class GridFieldAddExistingAutocompleter
* @return array
*/
public function getActions($gridField) {
return array('addto');
return array('addto', 'find');
}
/**