mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
BUGFIX SSF-25 : remove CreateForm, using the GridField 'Add New" action, instead
This commit is contained in:
parent
2ea7c8d136
commit
5e92c69c0a
@ -846,6 +846,13 @@ class ModelAdmin_CollectionController extends Controller {
|
|||||||
Director::redirect(Controller::join_links($this->Link(), $model->ID , 'edit'));
|
Director::redirect(Controller::join_links($this->Link(), $model->ID , 'edit'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return ArrayList
|
||||||
|
*/
|
||||||
|
public function Breadcrumbs(){
|
||||||
|
return new ArrayList();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1,7 +1,3 @@
|
|||||||
<% if CreateForm %>
|
|
||||||
$CreateForm
|
|
||||||
<% end_if %>
|
|
||||||
|
|
||||||
<h3><% _t('SEARCHLISTINGS','Search') %></h3>
|
<h3><% _t('SEARCHLISTINGS','Search') %></h3>
|
||||||
$SearchForm
|
$SearchForm
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user