Make WordPress Core

Changeset 4103


Ignore:
Timestamp:
08/16/2006 07:28:24 AM (18 years ago)
Author:
ryan
Message:

Don't autosave if no changes. Props masquerade. fixes #3042

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/js/autosave.js.php

    r4102 r4103  
    1616function autosave_start_timer() {
    1717    var form = $('post');
    18     if ( typeof tinyMCE != "undefined" || tinyMCE.configs.length > 0 )
    19         tinyMCE.wpTriggerSave();
    2018    autosaveLast = form.post_title.value+form.content.value;
    2119    setTimeout("autosave_timer()", <?php echo apply_filters('autosave_start_delay', '60000') ?>);
Note: See TracChangeset for help on using the changeset viewer.