This commit is contained in:
daitingting
2024-04-19 07:13:08 +00:00
parent fedb97cd15
commit 1692c0f624
+1 -1
View File
@@ -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();