Update lib/client/editor.js

This commit is contained in:
coderaiser 2012-08-03 17:37:00 +03:00
parent ed1ac4b95e
commit 844b803546

View file

@ -152,7 +152,8 @@ CloudCommander.Editor.CodeMirror.show = (function(){
lErrorImage.className = 'icon error';
lErrorImage.title = jqXHR.responseText;
lCurrent.firstChild.appendChild(lErrorImage);
if(lCurrent)
lCurrent.appendChild(lErrorImage);
lLoadingImage.className = 'hidden';