fixed bug: Maximum call stack size exceeded

This commit is contained in:
coderaiser 2012-07-30 04:19:02 -04:00
parent fbffbdae54
commit b419f1d61e

View file

@ -363,8 +363,11 @@ CloudClient.init=(function()
LoadingImage=CloudClient._images.loading();
/* загружаем иконку загрузки возле кнопки обновления дерева каталогов*/
try{
getByClass('path')[0].getElementsByTagName('a')[0].appendChild(LoadingImage);
LoadingImage.className+=' hidden'; /* прячем её */
var lPath = getByClass('path')[0]
lPath.getElementsByTagName('a')[0]
.appendChild(LoadingImage);
LoadingImage.className += ' hidden'; /* прячем её */
}catch(error){console.log(error);}
ErrorImage=CloudClient._images.error();