Skip to content

Commit 4d959ad

Browse files
author
Denys Rul
committed
Merge branch 'PR-stories' of https://github.corp.ebay.com/magento-vanilla/magento2ce into PR
2 parents c87569f + a9a8a57 commit 4d959ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Ui/view/base/web/js/grid/massactions.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,11 @@ define([
124124
var callback = action.callback,
125125
args = [action, selections];
126126

127-
if (_.isObject(callback)) {
127+
if (utils.isObject(callback)) {
128128
args.unshift(callback.target);
129129

130130
callback = registry.async(callback.provider);
131-
} else if (!_.isFunction(callback)) {
131+
} else if (typeof callback != 'function') {
132132
callback = this.defaultCallback.bind(this);
133133
}
134134

0 commit comments

Comments
 (0)