diff --git a/simpla/design/html/categories.tpl b/simpla/design/html/categories.tpl index 4d7c438..86d400f 100755 --- a/simpla/design/html/categories.tpl +++ b/simpla/design/html/categories.tpl @@ -108,7 +108,7 @@ // Выделить все $("#check_all").click(function () { - $('#list2 input[type="checkbox"][name*="check"]:not(:disabled)').attr('checked', $('#list2 input[type="checkbox"][name*="check"]:not(:disabled):not(:checked)').length > 0); + $('#list input[type="checkbox"][name*="check"]:not(:disabled)').attr('checked', $('#list input[type="checkbox"][name*="check"]:not(:disabled):not(:checked)').length > 0); }); // Показать категорию