Fix bulkManager check

This commit is contained in:
colymba 2014-04-08 00:15:42 +03:00 committed by Thierry Francois
parent 84d97c5106
commit 2b692c19a2

View File

@ -202,7 +202,7 @@ class GridFieldBulkUpload implements GridField_HTMLProvider, GridField_URLHandle
->setAttribute('data-icon', 'arrow-circle-double')
->setUseButtonTag(true);
if ( !$bulkManager )
if ( $bulkManager )
{
$cancelButton = FormAction::create('Cancel', _t('GridFieldBulkTools.CANCEL_BTN_LABEL', 'Cancel'))
->addExtraClass('bulkUploadCancelButton ss-ui-action-destructive')