From f2e7bbb4108dd1a9058cc2012648b4a686df31b7 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 16 Aug 2006 07:28:24 +0000 Subject: [PATCH] Don't autosave if no changes. Props masquerade. fixes #3042 git-svn-id: https://develop.svn.wordpress.org/trunk@4103 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/js/autosave.js.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/wp-includes/js/autosave.js.php b/wp-includes/js/autosave.js.php index e1382aa1e8..f0c3520a63 100644 --- a/wp-includes/js/autosave.js.php +++ b/wp-includes/js/autosave.js.php @@ -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()", ); } @@ -131,4 +129,4 @@ function autosave() { else autosaveAjax.onCompletion = autosave_saved; autosaveAjax.runAJAX(); -} \ No newline at end of file +}