diff --git a/app/code/Magento/Ui/view/base/web/js/grid/massactions.js b/app/code/Magento/Ui/view/base/web/js/grid/massactions.js index 758a8341e1736..48c04458ff49a 100644 --- a/app/code/Magento/Ui/view/base/web/js/grid/massactions.js +++ b/app/code/Magento/Ui/view/base/web/js/grid/massactions.js @@ -175,10 +175,10 @@ define([ * invoked if action is confirmed. */ _confirm: function (action, callback) { - var confirmData = action.confirm; - var data = this.getSelections(); - var total = data.total ? data.total : 0; - var confirmMessage = confirmData.message + ' (' + total + ' record' + (total > 1 ? 's' : '') + ')'; + var confirmData = action.confirm, + data = this.getSelections(), + total = data.total ? data.total : 0, + confirmMessage = confirmData.message + ' (' + total + ' record' + (total > 1 ? 's' : '') + ')'; confirm({ title: confirmData.title,