From f14af971716dab29b11bcca7dddab591cd81d818 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 30 Jul 2012 05:50:31 -0400 Subject: [PATCH] minor changes --- lib/client/editor.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/client/editor.js b/lib/client/editor.js index 9070941a..383f3777 100644 --- a/lib/client/editor.js +++ b/lib/client/editor.js @@ -15,9 +15,10 @@ CloudCommander.Editor.CodeMirror = { var lFM = document.getElementById('fm'); if(lFM){ - lFM.appendChild(lEditor); - this.show(); + lFM.appendChild(lEditor); }else console.log('Error. Something went wrong FM not found'); + + pParent.show(); } }; };