diff --git a/lib/client/editor.js b/lib/client/editor.js index 9b130124..c3b01604 100644 --- a/lib/client/editor.js +++ b/lib/client/editor.js @@ -129,20 +129,7 @@ CloudCommander.Editor.CodeMirror.show = (function(){ } } - /* показываем гиф загрузки возле пути папки сверху*/ - var lLoadingImage = CloudCommander._images.loading(); - var lErrorImage = CloudCommander._images.error(); - - lLoadingImage.className = 'icon loading';/* показываем загрузку*/ - lErrorImage.className = 'icon error hidden';/* прячем ошибку */ - - - /* show loading icon * - * if it not showed */ - var lCurrent = lCurrent.firstChild.nextSibling; - if(lCurrent !== lLoadingImage.parentElement) - lCurrent.appendChild(lLoadingImage); - + this.showLoad(); this.loading = true; var lParent = this; /* reading data from current file */