Index: trunk/extensions/SemanticForms/includes/SF_FormUtils.php |
— | — | @@ -11,16 +11,15 @@ |
12 | 12 | class SFFormUtils { |
13 | 13 | static function setGlobalJSVariables( &$vars ) { |
14 | 14 | global $sfgAdderButtons; |
15 | | - global $sfgAutocompleteMappings, $sfgAutocompleteDataTypes, $sfgAutocompleteValues; |
| 15 | + global $sfgAutocompleteDataTypes, $sfgAutocompleteValues; |
16 | 16 | global $sfgAutocompleteOnAllChars; |
17 | 17 | global $sfgShowOnSelect; |
18 | 18 | |
19 | 19 | $vars['sfgRemoveText'] = wfMsg( 'sf_formedit_remove' ); |
20 | 20 | $vars['sfgAdderButtons'] = $sfgAdderButtons; |
21 | | - $vars['autocompleteOnAllChars'] = $sfgAutocompleteOnAllChars; |
| 21 | + $vars['sfgAutocompleteOnAllChars'] = $sfgAutocompleteOnAllChars; |
22 | 22 | // variables that are associative arrays need to be cast as |
23 | 23 | // objects, to work with MW 1.15 and earlier |
24 | | - $vars['sfgAutocompleteMappings'] = (object)$sfgAutocompleteMappings; |
25 | 24 | $vars['sfgAutocompleteValues'] = (object)$sfgAutocompleteValues; |
26 | 25 | $vars['sfgAutocompleteDataTypes'] = (object)$sfgAutocompleteDataTypes; |
27 | 26 | $vars['sfgShowOnSelect'] = (object)$sfgShowOnSelect; |