Skip to content

Commit f570486

Browse files
committed
PB-235: Story Bug for PB-107: Adding Condition Filter will Not Update Total until After Saving Edit Form & Reopening
1 parent 9da51d7 commit f570486

File tree

1 file changed

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

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ define(['Magento_Ui/js/form/components/html', 'jquery'], function (Html, $) {
3737
}, function (el) {
3838
this.elements.push(el);
3939
$(el).on('change', this.updateValue.bind(this));
40+
$('.rule-param-apply').on('click', function(e) {
41+
$(e.target).closest('.rule-param-apply').prevAll('input.element-value-changer').change();
42+
});
4043
this.updateValue(this);
4144
}.bind(this));
4245
},

0 commit comments

Comments
 (0)