From: Ɓukasz Rekucki Date: Sat, 29 Aug 2009 07:46:31 +0000 (+0200) Subject: Zmieniono okres autozapisu na 5 min. X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/0128515732e28982f0fafe28dbd5df19258ec670?ds=sidebyside;hp=-c Zmieniono okres autozapisu na 5 min. --- 0128515732e28982f0fafe28dbd5df19258ec670 diff --git a/project/static/js/editor.js b/project/static/js/editor.js index a3d96593..3b750cab 100644 --- a/project/static/js/editor.js +++ b/project/static/js/editor.js @@ -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) {