includes/clientside/static/editor.js
changeset 1332 12286b3ee214
parent 1316 3df4818b99bf
child 1334 b9ecf7618fbc
equal deleted inserted replaced
1331:c7d6317c5e82 1332:12286b3ee214
   585 		draft: ( is_draft == true ),
   585 		draft: ( is_draft == true ),
   586 		format: ( $dynano('ajaxEditArea').isMCE() ) ? 'xhtml' : 'wikitext',
   586 		format: ( $dynano('ajaxEditArea').isMCE() ) ? 'xhtml' : 'wikitext',
   587 		used_draft: used_draft
   587 		used_draft: used_draft
   588 	};
   588 	};
   589 	
   589 	
       
   590 	eval(setHook('editor_save_presend'));
       
   591 	
   590 	// Do we need to add captcha info?
   592 	// Do we need to add captcha info?
   591 	if ( document.getElementById('enano_editor_field_captcha') && !is_draft )
   593 	if ( document.getElementById('enano_editor_field_captcha') && !is_draft )
   592 	{
   594 	{
   593 		var captcha_field = document.getElementById('enano_editor_field_captcha');
   595 		var captcha_field = document.getElementById('enano_editor_field_captcha');
   594 		if ( captcha_field.value == '' )
   596 		if ( captcha_field.value == '' )