Skip to content

Commit a2b41b3

Browse files
committed
Fix for split button issue
1 parent df29e1b commit a2b41b3

File tree

1 file changed

+17
-0
lines changed
  • app/code/Magento/Ui/view/base/web/js/grid/controls/button

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/**
2+
* Copyright © Magento, Inc. All rights reserved.
3+
* See COPYING.txt for license details.
4+
*/
5+
6+
define([
7+
'jquery'
8+
], function ($) {
9+
'use strict';
10+
11+
return function (data, element) {
12+
13+
$(element).on('click.splitDefault', '.action-default', function () {
14+
$(this).siblings('.dropdown-menu').find('.item-default').trigger('click');
15+
});
16+
};
17+
});

0 commit comments

Comments
 (0)