Hide that bogus 'save & finish' button

This commit is contained in:
colymba 2013-01-17 23:05:46 +02:00
parent fa0ace0b55
commit a0ebac8f7d

View File

@ -167,7 +167,7 @@ class GridFieldBulkImageUpload_Request extends RequestHandler {
->setAttribute('data-url', $this->Link('update')) ->setAttribute('data-url', $this->Link('update'))
->setUseButtonTag(true) ->setUseButtonTag(true)
); );
/*
if($crumbs && $crumbs->count()>=2) if($crumbs && $crumbs->count()>=2)
{ {
$actions->push( $actions->push(
@ -180,7 +180,7 @@ class GridFieldBulkImageUpload_Request extends RequestHandler {
->setUseButtonTag(true) ->setUseButtonTag(true)
); );
} }
*/
$actions->push( $actions->push(
FormAction::create('Cancel', 'Cancel & Delete All') FormAction::create('Cancel', 'Cancel & Delete All')
->setAttribute('id', 'bulkImageUploadUpdateCancelBtn') ->setAttribute('id', 'bulkImageUploadUpdateCancelBtn')