Index: trunk/extensions/SemanticForms/includes/SF_ParserFunctions.php |
— | — | @@ -271,8 +271,7 @@ |
272 | 272 | SFUtils::addJavascriptAndCSS(); |
273 | 273 | } |
274 | 274 | $autocompletion_values = SFUtils::getAutocompleteValues( $inAutocompletionSource, $autocompletion_type ); |
275 | | - global $sfgAutocompleteMappings, $sfgAutocompleteValues; |
276 | | - $sfgAutocompleteMappings[$input_num] = "input_$input_num"; |
| 275 | + global $sfgAutocompleteValues; |
277 | 276 | $sfgAutocompleteValues["input_$input_num"] = $autocompletion_values; |
278 | 277 | } |
279 | 278 | |
— | — | @@ -287,7 +286,7 @@ |
288 | 287 | } else { |
289 | 288 | $str = <<<END |
290 | 289 | <form name="createbox" action="$fs_url" method="get"> |
291 | | - <p><input type="text" name="page_name" id="input_$input_num" size="$inSize" value="$inValue" class="autocompleteInput createboxInput formInput" /> |
| 290 | + <p><input type="text" name="page_name" id="input_$input_num" size="$inSize" value="$inValue" class="autocompleteInput createboxInput formInput" autocompletesettings="input_$input_num" /> |
292 | 291 | |
293 | 292 | END; |
294 | 293 | } |