Zmieniono okres autozapisu na 5 min.
authorŁukasz Rekucki <lrekucki@gmail.com>
Sat, 29 Aug 2009 07:46:31 +0000 (09:46 +0200)
committerŁukasz Rekucki <lrekucki@gmail.com>
Sat, 29 Aug 2009 07:46:31 +0000 (09:46 +0200)
project/static/js/editor.js

index a3d9659..3b750ca 100644 (file)
@@ -262,7 +262,7 @@ Editor.prototype.onContentChanged = function(event, data) {
         $('#toolbar-button-commit').attr('disabled', 'disabled');
     
         if(this.autosaveTimer) return;    
-        this.autosaveTimer = setTimeout( function() { self.autoSave(); }, 5000 );
+        this.autosaveTimer = setTimeout( function() { self.autoSave(); }, 300000 );
 };
 
 Editor.prototype.refreshPanels = function(goodPanel) {