From 8570e9a0618d17bada9df278d2c6a56a8b74977e Mon Sep 17 00:00:00 2001 From: caoyanyi Date: Tue, 8 Nov 2022 11:47:57 +0800 Subject: [PATCH] * Modify secondary menu error. --- module/program/js/product.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/module/program/js/product.js b/module/program/js/product.js index 1b308f296b..25d0aeebc9 100644 --- a/module/program/js/product.js +++ b/module/program/js/product.js @@ -29,11 +29,6 @@ $(function() { if($.cookie('showProductBatchEdit') == 1) updateStatistic(); }); - - $('#productListForm .table').on('click', '.sortable tr', function(e) - { - if($.cookie('showProductBatchEdit') != 1) e.stopPropagation(); - }); }); @@ -58,6 +53,7 @@ function setCheckbox() $('.table-actions').hide(); $('#productListForm .product-id').removeClass('hidden'); } + updateStatistic(); } /**