From 2038659ac71a9053b2e3ffbe3d336ce7de93df44 Mon Sep 17 00:00:00 2001 From: John McLear Date: Sun, 4 Dec 2011 22:29:33 +0000 Subject: [PATCH] Fixed info error ISSUE #252 part2, whoops. --- static/js/ace.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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() {