Skip to content

Commit 61d3503

Browse files
committed
MC-5810: Improve naming of the critical variables/parameters in the code and configuration
- Fix buttons issue
1 parent 7855732 commit 61d3503

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/PageBuilder/view/adminhtml/web/template/content-type/button-item/default

1 file changed

+1
-1
lines changed

app/code/Magento/PageBuilder/view/adminhtml/web/template/content-type/button-item/default/preview.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
event="{ dragstart: function(context, event) { event.preventDefault(); }}">
1818
<span class="button-item-drag-handle" css="{disabled: contentType.parentContentType.children().length <= 1}"></span>
1919
<span attr="data.link_text.attributes"
20-
data-bind="liveEdit: { field: 'button_text', placeholder: buttonPlaceholder, selectAll: true }, hasFocusNoScroll: $parent.contentType.preview.focusedButton() === $index()"
20+
data-bind="liveEdit: { field: 'button_text', placeholder: buttonPlaceholder, selectAll: true }, hasFocusNoScroll: contentType.parentContentType.preview.focusedButton() === $index()"
2121
event="{ focusin: function (context, event) { onFocusIn($index(), event); }, focusout: function (context, event) { onFocusOut($index(), event); } }">
2222
</span>
2323
</a>

0 commit comments

Comments
 (0)