Skip to content

Commit 86d5c22

Browse files
committed
Resolve Console error when clicking checkbox at "Newsletter Problems Report" (issue 24102)
1 parent d7606f4 commit 86d5c22

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Newsletter/view/adminhtml/templates/problem

1 file changed

+1
-1
lines changed

app/code/Magento/Newsletter/view/adminhtml/templates/problem/list.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ require(["prototype", "mage/adminhtml/events"], function(){
1717

1818
problemController = {
1919
checkCheckboxes:function (controlCheckbox) {
20-
var elements = $('problemGrid').getElementsByClassName('problemCheckbox');
20+
var elements = $$('input.problemCheckbox');
2121
if (elements && elements.length) {
2222
elements.each(function (obj) {
2323
obj.checked = controlCheckbox.checked;

0 commit comments

Comments
 (0)