Index: trunk/extensions/SemanticFormsInputs/SFI_Inputs.php |
— | — | @@ -194,7 +194,7 @@ |
195 | 195 | // register event to validate regexp on submit/preview |
196 | 196 | $jstext = <<<JAVASCRIPT |
197 | 197 | jQuery(function(){ |
198 | | - jQuery('#input_$sfgFieldNum').registerValidation( SFI_RE_validate, {retext: {$regexp}, inverse: {$inverseString}, message: {$message} }); |
| 198 | + jQuery('#input_$sfgFieldNum').SemanticForms_registerInputValidation( SFI_RE_validate, {retext: {$regexp}, inverse: {$inverseString}, message: {$message} }); |
199 | 199 | }); |
200 | 200 | JAVASCRIPT; |
201 | 201 | |
— | — | @@ -823,7 +823,7 @@ |
824 | 824 | |
825 | 825 | // wrap the JS code fragment in a function for deferred init |
826 | 826 | $jstext = <<<JAVASCRIPT |
827 | | -jQuery(function(){ jQuery('#input_{$sfgFieldNum}_dp_show').registerInitialisation(SFI_DP_init, $jsattribsString ); }); |
| 827 | +jQuery(function(){ jQuery('#input_{$sfgFieldNum}_dp_show').SemanticForms_registerInputInit(SFI_DP_init, $jsattribsString ); }); |
828 | 828 | JAVASCRIPT; |
829 | 829 | |
830 | 830 | // insert the code of the JS init function into the pages code |
— | — | @@ -902,7 +902,7 @@ |
903 | 903 | $jsattribsString = Xml::encodeJsVar( $jsattribs ); |
904 | 904 | |
905 | 905 | $jstext = <<<JAVASCRIPT |
906 | | -jQuery(function(){ jQuery('#input_$sfgFieldNum').registerInitialisation(SFI_DTP_init, $jsattribsString ); }); |
| 906 | +jQuery(function(){ jQuery('#input_$sfgFieldNum').SemanticForms_registerInputInit(SFI_DTP_init, $jsattribsString ); }); |
907 | 907 | JAVASCRIPT; |
908 | 908 | |
909 | 909 | // insert the code of the JS init function into the pages code |
— | — | @@ -1167,7 +1167,7 @@ |
1168 | 1168 | $jstext = Xml::encodeJsVar( $jsattribs ); |
1169 | 1169 | |
1170 | 1170 | $jstext = <<<JAVASCRIPT |
1171 | | -jQuery(function(){ jQuery('#input_{$sfgFieldNum}_tp_show').registerInitialisation(SFI_TP_init, $jstext ); }); |
| 1171 | +jQuery(function(){ jQuery('#input_{$sfgFieldNum}_tp_show').SemanticForms_registerInputInit(SFI_TP_init, $jstext ); }); |
1172 | 1172 | JAVASCRIPT; |
1173 | 1173 | |
1174 | 1174 | // write JS code directly to the page's code |
— | — | @@ -1268,7 +1268,7 @@ |
1269 | 1269 | $html = '<span class="inputSpan' . ($is_mandatory ? ' mandatoryFieldSpan' : '') . '">' .$html . '</span>'; |
1270 | 1270 | |
1271 | 1271 | $jstext = <<<JAVASCRIPT |
1272 | | -jQuery(function(){ jQuery('#input_$sfgFieldNum').registerInitialisation(SFI_MS_init, null ); }); |
| 1272 | +jQuery(function(){ jQuery('#input_$sfgFieldNum').SemanticForms_registerInputInit(SFI_MS_init, null ); }); |
1273 | 1273 | JAVASCRIPT; |
1274 | 1274 | |
1275 | 1275 | // write JS code directly to the page's code |