Skip to content

Commit

Permalink
Checkboxes are ticked when opening a product directly via URL. #1659
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdspencer77 committed Feb 24, 2025
1 parent 9bc7703 commit 57d1b24
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/static/js/product.js
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ $(function() {
if (controller.productid != 0) {
$.each(controller.rows, function(rowcount, row) {
if (row.ID == controller.productid) {
$("input[data-id='" + controller.productid + "']").prop("checked", true);
product.table.edit(row);
return false;
}
Expand Down

0 comments on commit 57d1b24

Please sign in to comment.