Reduced autosave interval from 60 to 15 seconds
authorAlexander Ebert <ebert@woltlab.com>
Wed, 24 Dec 2014 19:26:04 +0000 (20:26 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 24 Dec 2014 19:26:04 +0000 (20:26 +0100)
wcfsetup/install/files/js/3rdParty/redactor/plugins/wutil.js

index bc92f6c084b5a339021f7ce9a60f61c7ba146dbb..0ed9cf7e67e3df2846d0770b85eb215e98e8e05b 100644 (file)
@@ -276,7 +276,7 @@ RedactorPlugins.wutil = function() {
                        if (this.wutil._autosaveWorker === null) {
                                this.wutil.autosavePurgeOutdated();
                                
-                               this.wutil._autosaveWorker = new WCF.PeriodicalExecuter($.proxy(this.wutil.saveTextToStorage, this), 60 * 1000);
+                               this.wutil._autosaveWorker = new WCF.PeriodicalExecuter($.proxy(this.wutil.saveTextToStorage, this), 15 * 1000);
                        }
                        
                        return true;