From 2acfd3964655da9fb11fe1d506ccaf6ac99d2779 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 30 Jul 2012 06:17:23 -0400 Subject: [PATCH] minor changes --- lib/client/editor.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/client/editor.js b/lib/client/editor.js index 82c704b9..908491c8 100644 --- a/lib/client/editor.js +++ b/lib/client/editor.js @@ -69,8 +69,7 @@ CloudCommander.Editor.CodeMirror = { lLeft && (lLeft.className = 'panel hidden'); - - + CodeMirror(lCloudEditor,{ mode : "xml", htmlMode : true, @@ -100,6 +99,10 @@ CloudCommander.Editor.CodeMirror = { lLeft && (lLeft.className = 'panel'); + + var lCodeMirror = pParent.getByClassName('CodeMirror'); + if(lCodeMirror.length) + document.body.removeChild([0]); }; }), getById: function(pId){return document.getElementById(pId);},