fnp
/
redakcja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
92e5a00
)
Dodanie daty ostatniego uaktualnienia ustawień do ustawień w cookie w pliku editor.js.
author
zuber
<marek@stepniowski.com>
Tue, 1 Sep 2009 12:45:48 +0000
(14:45 +0200)
committer
zuber
<marek@stepniowski.com>
Tue, 1 Sep 2009 12:45:48 +0000
(14:45 +0200)
project/static/js/editor.js
patch
|
blob
|
history
diff --git
a/project/static/js/editor.js
b/project/static/js/editor.js
index
6e63eb0
..
c12182f
100644
(file)
--- a/
project/static/js/editor.js
+++ b/
project/static/js/editor.js
@@
-145,7
+145,8
@@
Editor.prototype.loadConfig = function() {
panels: [
{name: 'htmleditor', ratio: 0.5},
{name: 'gallery', ratio: 0.5}
- ]
+ ],
+ lastUpdate: 0,
}
try {
@@
-197,6
+198,7
@@
Editor.prototype.savePanelOptions = function() {
})
});
self.options.panels = panels;
+ self.options.lastUpdate = (new Date()).getTime() / 1000;
$.log($.toJSON(self.options));
$.cookie('options', $.toJSON(self.options), { expires: 7, path: '/'});
}