%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /www/varak.net/wiki.varak.net/resources/src/mediawiki.htmlform/
Upload File :
Create Path :
Current File : /www/varak.net/wiki.varak.net/resources/src/mediawiki.htmlform/htmlform.js

( function () {

	$( function () {
		mw.hook( 'htmlform.enhance' ).fire( $( document ) );
	} );

	mw.hook( 'htmlform.enhance' ).add( function ( $root ) {
		// Turn HTML5 form validation back on, in cases where it was disabled server-side (see
		// HTMLForm::needsJSForHtml5FormValidation()) because we need extra logic implemented in JS to
		// validate correctly. Currently, this is only used for forms containing fields with 'hide-if'.
		$root.find( '.mw-htmlform' ).removeAttr( 'novalidate' );
	} );

}() );

Zerion Mini Shell 1.0