* Fix bug #48033.
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user