https://bugzilla.wikimedia.org/show_bug.cgi?id=31405
--- Comment #6 from Brad Jorsch <[email protected]> 2011-10-10 19:20:25 UTC --- Created attachment 9211 --> https://bugzilla.wikimedia.org/attachment.cgi?id=9211 Patch to properly handle the form default value for HTMLSelectAndOtherField The problem with Special:Block is that HTMLSelectAndOtherField's loadDataFromRequest method doesn't parse the form's default value into the 'select' and 'text field' components, instead returning just the 'combined' value. And its getInputHTML method ignores the 'combined' value in favor of the 'select' and 'text field' components. An easy fix is to just put "other" for the 'select' component and the default as the 'text field' component. Or we can go one better and actually split it apart, as in the attached patch. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
