add line to disable eslint warning for now

This commit is contained in:
Christopher Joe 2017-03-07 09:44:53 +13:00
parent 45a7fbd387
commit 3e7be1d85e

View File

@ -129,6 +129,7 @@ class GridField extends SilverStripeComponent {
const headers = {};
headers[FormConstants.CSRF_HEADER] = this.props.config.SecurityID;
// eslint-disable-next-line no-alert
if (!confirm(
i18n._t('Campaigns.DELETECAMPAIGN', 'Are you sure you want to delete this record?')
)) {