Thread:Extension talk:Semantic Forms Inputs/jquery-ui files moved from SF to SMW

Hi,

I noticed Semantic Forms Inputs still uses the former location of the jquery-ui files, namely $sfgScriptPath.

Since the files have moved to the SMW core extension, this seems to fix the problem: (in SemanticFormsInputs/includes/SFI_DatePicker.php)

- global $sfgScriptPath, $sfigSettings; + global $sfgScriptPath, $sfigSettings, $smwgScriptPath;

- $wgOut->addExtensionStyle( $sfgScriptPath . '/skins/jquery-ui/base/jquery.ui.datepicker.css' ); - $wgOut->addExtensionStyle( $sfgScriptPath . '/skins/jquery-ui/base/jquery.ui.theme.css' ); - $wgOut->addScript( ' ' );

+ $wgOut->addExtensionStyle( $smwgScriptPath . '/skins/jquery-ui/base/jquery.ui.datepicker.css' ); + $wgOut->addExtensionStyle( $smwgScriptPath . '/skins/jquery-ui/base/jquery.ui.theme.css' ); + $wgOut->addScript( ' ' );