From 247477e15861c5a530958c51a1480c4b42142059 Mon Sep 17 00:00:00 2001 From: Kirill Trubetskoy Date: Thu, 9 Sep 2021 13:40:42 +0300 Subject: [PATCH] Update categories.tpl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit поправил кнопку выделения --- simpla/design/html/categories.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }); // Показать категорию