HTMLFormFieldWithButton: Don't pass empty string as 'id'
authorBartosz Dziewoński <matma.rex@gmail.com>
Tue, 30 Apr 2019 00:10:16 +0000 (02:10 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Tue, 30 Apr 2019 00:10:16 +0000 (02:10 +0200)
commit4d9a9f3776a7b8589367ba5f8dda7b62b2a410e0
treed76ed75513cc4feca481cd3e6e8cf7744c97bd01
parentec13165104fe03801f420531bce6c141749f2d8b
HTMLFormFieldWithButton: Don't pass empty string as 'id'

The button must have an ID to be able to be infused. If the given ID
is null, that's fine, OOUI will generate one. But passing an empty
string apparently disables that.

Bug: T222013
Change-Id: I96e1f838385c5539ed246d2ee7107cd037a5f338
includes/htmlform/fields/HTMLFormFieldWithButton.php