From a0ebac8f7dac867c530b263fef62c830b5c8c2f2 Mon Sep 17 00:00:00 2001 From: colymba Date: Thu, 17 Jan 2013 23:05:46 +0200 Subject: [PATCH] Hide that bogus 'save & finish' button --- code/GridFieldBulkImageUpload_Request.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/GridFieldBulkImageUpload_Request.php b/code/GridFieldBulkImageUpload_Request.php index 65a1edd..d4d4754 100644 --- a/code/GridFieldBulkImageUpload_Request.php +++ b/code/GridFieldBulkImageUpload_Request.php @@ -167,7 +167,7 @@ class GridFieldBulkImageUpload_Request extends RequestHandler { ->setAttribute('data-url', $this->Link('update')) ->setUseButtonTag(true) ); - + /* if($crumbs && $crumbs->count()>=2) { $actions->push( @@ -180,7 +180,7 @@ class GridFieldBulkImageUpload_Request extends RequestHandler { ->setUseButtonTag(true) ); } - + */ $actions->push( FormAction::create('Cancel', 'Cancel & Delete All') ->setAttribute('id', 'bulkImageUploadUpdateCancelBtn')