Index: trunk/extensions/CongressLookup/SpecialCongressLookup.php |
— | — | @@ -212,8 +212,12 @@ |
213 | 213 | if ( $isError ) { |
214 | 214 | $htmlOut .= Html::element( 'p', array( 'class' => 'error' ), wfMsg( 'congresslookup-zipcode-error' )); |
215 | 215 | } |
| 216 | + $htmlOut .= Html::openElement( 'form', array( |
| 217 | + 'action' => wfScript(), |
| 218 | + 'method' => 'get', |
| 219 | + ) ); |
| 220 | + $htmlOut .= Html::hidden( 'title', $this->getTitle()->getPrefixedText() ); |
216 | 221 | $htmlOut .= <<<HTML |
217 | | - <form action="" method="GET"> |
218 | 222 | <label for="zip">Your zip code:</label> |
219 | 223 | <input type="text" maxlength="10" size="5" name="zip" id="zip"/> |
220 | 224 | <input type="submit" value="Look up" name="submit"/> |