fnp
/
redakcja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8fabff2
)
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
patch
|
blob
|
history
diff --git
a/project/static/js/editor.js
b/project/static/js/editor.js
index
a3d9659
..
3b750ca
100644
(file)
--- 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;
$('#toolbar-button-commit').attr('disabled', 'disabled');
if(this.autosaveTimer) return;
- this.autosaveTimer = setTimeout( function() { self.autoSave(); },
5
000 );
+ this.autosaveTimer = setTimeout( function() { self.autoSave(); },
300
000 );
};
Editor.prototype.refreshPanels = function(goodPanel) {
};
Editor.prototype.refreshPanels = function(goodPanel) {