Fixed Input type button loses value after cloned (js FieldAdder)

sonnb

Well-known member
In xenforo.js, FieldAdder function would remove input value after cloned.

Code:
$clone.find('input').val('').attr('disabled', true);

But this also removes value (which is the label) of input type button.

I think we should not remove value of input[type="button"] ?
 
Top Bottom