#18429537 : Using AJAX, make it working even if FTPport is wronly set to SFTP port

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6938 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
haneul 2009-11-15 14:09:52 +00:00
parent f289e77261
commit a2a57aeaa1
6 changed files with 67 additions and 40 deletions

View file

@ -0,0 +1,14 @@
function completeGetFtpInfo(ret_obj)
{
var e = jQuery("#ftplist").empty();
var list = "";
for(var i=0;i<ret_obj['list']['item'].length;i++)
{
var v = ret_obj['list']['item'][i];
list = list + "<li><a href='"+current_url.setQuery('pwd',pwd+v)+"#ftpSetup'>"+v+"</a></li>";
}
list = "<td><ul>"+list+"</ul></td>";
e.append(jQuery(list));
}