mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-19 09:24:51 +00:00
fixed bug with forming error of loading dir
Was : "not found". Now : "Error: EACCES, readdir '/root'"
This commit is contained in:
parent
753ee2f410
commit
66fe21e2d1
1 changed files with 7 additions and 6 deletions
13
client.js
13
client.js
|
|
@ -759,14 +759,15 @@ CloudClient._ajaxLoad=function(path, pNeedRefresh)
|
|||
$.ajax({
|
||||
url: path,
|
||||
error: function(jqXHR, textStatus, errorThrown){
|
||||
console.log(jqXHR.responseText);
|
||||
|
||||
var lLoading=getById('loading-image');
|
||||
|
||||
ErrorImage.className='icon error';
|
||||
ErrorImage.title = errorThrown;
|
||||
ErrorImage.title = jqXHR.responseText;
|
||||
|
||||
lLoading.parentElement.appendChild(ErrorImage);
|
||||
lLoading.className='hidden';
|
||||
|
||||
var lLoading = getById('loading-image');
|
||||
lLoading.className ='hidden';
|
||||
|
||||
console.log(jqXHR.responseText);
|
||||
},
|
||||
success:function(data, textStatus, jqXHR){
|
||||
/* если такой папки (или файла) нет
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue