Skip to content

Commit a6d46e4

Browse files
committed
PB-500 change sortable restrictions to column-group content type from column
1 parent 68f7325 commit a6d46e4

File tree

2 files changed

+2
-2
lines changed
  • app/code/Magento/PageBuilder/view/adminhtml/web

2 files changed

+2
-2
lines changed

app/code/Magento/PageBuilder/view/adminhtml/web/js/content-type/column-group/preview.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/code/Magento/PageBuilder/view/adminhtml/web/ts/js/content-type/column-group/preview.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1019,7 +1019,7 @@ export default class Preview extends PreviewCollection {
10191019
});
10201020
},
10211021
activate() {
1022-
if (getDraggedContentTypeConfig() === Config.getContentTypeConfig("column")) {
1022+
if (getDraggedContentTypeConfig() === Config.getContentTypeConfig("column-group")) {
10231023
group.find(".ui-sortable").each(function() {
10241024
if ($(this).data("ui-sortable")) {
10251025
$(this).sortable("option", "disabled", true);

0 commit comments

Comments
 (0)