Skip to content

Commit b770b23

Browse files
PB-219: Clean page builder static test blacklist
1 parent 001aafe commit b770b23

File tree

1 file changed

+7
-3
lines changed
  • app/code/Magento/PageBuilder/view/adminhtml/web/js/form/element

1 file changed

+7
-3
lines changed

app/code/Magento/PageBuilder/view/adminhtml/web/js/form/element/html.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@
33
* See COPYING.txt for license details.
44
*/
55

6-
define(['Magento_Ui/js/form/components/html', 'jquery'], function (Html, $) {
6+
define([
7+
'Magento_Ui/js/form/components/html',
8+
'jquery',
9+
'underscore'
10+
], function (Html, $, _) {
711
'use strict';
812

913
return Html.extend({
@@ -37,10 +41,10 @@ define(['Magento_Ui/js/form/components/html', 'jquery'], function (Html, $) {
3741
}, function (el) {
3842
this.elements.push(el);
3943
$(el).on('change', this.updateValue.bind(this));
40-
$(el).nextAll('.rule-param-apply').on('click', function() {
44+
$(el).nextAll('.rule-param-apply').on('click', function () {
4145
$(el).change();
4246
});
43-
$(el).closest('li').find('.rule-param-remove').on('click', function() {
47+
$(el).closest('li').find('.rule-param-remove').on('click', function () {
4448
$(el).val('').change();
4549
});
4650
this.updateValue(this);

0 commit comments

Comments
 (0)