r82898 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82897‎ | r82898 | r82899 >
Date:16:34, 27 February 2011
Author:yaron
Status:deferred
Tags:
Comment:
Added in handling for two new JS global variables
Modified paths:
  • /trunk/extensions/SemanticForms/includes/SF_FormUtils.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/includes/SF_FormUtils.php
@@ -19,6 +19,8 @@
2020 // objects, to work with MW 1.15 and earlier
2121 $vars['sfgAutocompleteValues'] = (object)$sfgAutocompleteValues;
2222 $vars['sfgShowOnSelect'] = (object)$sfgShowOnSelect;
 23+ $vars['sfgInitJSFunctions'] = (object)$sfgInitJSFunctions;
 24+ $vars['sfgValidationJSFunctions'] = (object)$sfgValidationJSFunctions;
2325 $vars['sfgFormErrorsHeader'] = wfMsg( 'sf_formerrors_header' );
2426 $vars['sfgBlankErrorStr'] = wfMsg( 'sf_blank_error' );
2527 $vars['sfgBadURLErrorStr'] = wfMsg( 'sf_bad_url_error' );