diff --git a/config.json b/config.json index 557b31dc..263dbdb4 100644 --- a/config.json +++ b/config.json @@ -1,5 +1,5 @@ { - "cache" : {"allowed" : true}, + "cache" : {"allowed" : false}, "minification" : { "js" : false, "css" : true, diff --git a/lib/client/editor.js b/lib/client/editor.js index 1ad28b08..e8b903ae 100644 --- a/lib/client/editor.js +++ b/lib/client/editor.js @@ -5,10 +5,7 @@ var CloudCommander, CodeMirror; CloudCommander.Editor = {}; CloudCommander.Editor.CodeMirror = { load: (function(){ /* function loads CodeMirror js and css files */ - - /* load CodeMirror main module */ - CloudCommander.jsload('http://codemirror.net/lib/codemirror.js', load_all(this)); - + /* function loads css files * of CodeMirror */ @@ -67,6 +64,9 @@ CloudCommander.Editor.CodeMirror = { CloudCommander.jsload('http://codemirror.net/mode/xml/xml.js', lShowEditor_f); }; } + + /* load CodeMirror main module */ + CloudCommander.jsload('http://codemirror.net/lib/codemirror.js', load_all(this)); }), show : (function(){ /* function shows CodeMirror editor */ /* if CloudEditor is not loaded - loading him */