Don't autosave if no changes. Props masquerade. fixes #3042
git-svn-id: http://svn.automattic.com/wordpress/trunk@4103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1a9df1c2d5
commit
8bfa80dcf4
|
@ -15,8 +15,6 @@ function autosave_timer() {
|
|||
|
||||
function autosave_start_timer() {
|
||||
var form = $('post');
|
||||
if ( typeof tinyMCE != "undefined" || tinyMCE.configs.length > 0 )
|
||||
tinyMCE.wpTriggerSave();
|
||||
autosaveLast = form.post_title.value+form.content.value;
|
||||
setTimeout("autosave_timer()", <?php echo apply_filters('autosave_start_delay', '60000') ?>);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue