Skip to content

Commit d44ffd0

Browse files
authored
change selected identifier for block chooserwidget
1 parent 9fc6972 commit d44ffd0

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Cms/Block/Adminhtml/Block/Widget

1 file changed

+1
-1
lines changed

app/code/Magento/Cms/Block/Adminhtml/Block/Widget/Chooser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public function getRowClickCallback()
100100
$js = '
101101
function (grid, event) {
102102
var trElement = Event.findElement(event, "tr");
103-
var blockId = trElement.down("td").innerHTML.replace(/^\s+|\s+$/g,"");
103+
var blockId = trElement.down("td").next().next().innerHTML.replace(/^\s+|\s+$/g,"");
104104
var blockTitle = trElement.down("td").next().innerHTML;
105105
' .
106106
$chooserJsObject .

0 commit comments

Comments
 (0)