Bump autosave interval to 2 minutes for now. #3379

git-svn-id: https://develop.svn.wordpress.org/trunk@4512 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2006-11-22 02:54:04 +00:00
parent 56cda89bdf
commit ce1cb37f34

View File

@ -7,7 +7,7 @@ var autosavePeriodical;
function autosave_start_timer() {
var form = $('post');
autosaveLast = form.post_title.value+form.content.value;
autosavePeriodical = new PeriodicalExecuter(autosave, <?php echo apply_filters('autosave_interval', '16'); ?>);
autosavePeriodical = new PeriodicalExecuter(autosave, <?php echo apply_filters('autosave_interval', '120'); ?>);
//Disable autosave after the form has been submitted
if(form.addEventListener) {
form.addEventListener("submit", function () { autosavePeriodical.currentlyExecuting = true; }, false);