diff --git a/static/js/ace.js b/static/js/ace.js index 08719fcdf..4cfe2760f 100644 --- a/static/js/ace.js +++ b/static/js/ace.js @@ -96,9 +96,10 @@ function Ace2Editor() }); editor.setEditable = pendingInit(function(newVal) { - //window.console.log("yaya"); - //window.console.log(newVal); - //info.ace_setEditable(newVal); + if(info) + { + info.ace_setEditable(newVal); + } }); editor.getFormattedCode = function() {