diff --git a/lib/zin/wg/batchactions/js/v1.js b/lib/zin/wg/batchactions/js/v1.js index 9df844aa22..232399f048 100644 --- a/lib/zin/wg/batchactions/js/v1.js +++ b/lib/zin/wg/batchactions/js/v1.js @@ -84,7 +84,7 @@ window.removeItem = function(e) /* Dsiabled btn can't remove line. */ if($(obj).closest('.btn').hasClass('disabled')) return false; - if($(obj).parents('form').find('.form-row').length == 2) return false; + if($(obj).parents('form').find('.action-group').not('.child-hidden').length == 1) return false; $(obj).closest('.form-row').remove();