Bump autosave interval to 2 minutes for now. #3379

git-svn-id: http://svn.automattic.com/wordpress/trunk@4512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2006-11-22 02:54:04 +00:00
parent 6f8d9c92a5
commit 49281a1caf
1 changed files with 1 additions and 1 deletions

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);