Merge pull request #2205 from jthomerson/pulls/fix_gridfield_class_name

FIX: wrong class name being returned
This commit is contained in:
Sean Harvey 2013-10-31 18:19:05 -07:00
commit 8e36290b56

View File

@ -170,7 +170,7 @@ class GridFieldDetailForm implements GridField_URLHandler {
} else if(ClassInfo::exists(get_class($this) . "_ItemRequest")) {
return get_class($this) . "_ItemRequest";
} else {
return 'GridFieldItemRequest_ItemRequest';
return 'GridFieldDetailForm_ItemRequest';
}
}