1
0

check autosave also here

This commit is contained in:
Garvin Hicking
2014-09-11 13:02:01 +02:00
parent 971b993a52
commit dc53c4f0dc

View File

@ -48,7 +48,7 @@
on: {
instanceReady: function( evt ) {
if(Modernizr.indexeddb) {
if(Modernizr.indexeddb && {$use_autosave}) {
CKEDITOR.instances["{$item}"].document.once('keyup', function() {
setInterval(function() {
serendipity.cache("{$item}", CKEDITOR.instances["{$item}"].getData());