mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 11:44:10 +09:00
#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:
parent
f289e77261
commit
a2a57aeaa1
6 changed files with 67 additions and 40 deletions
14
modules/admin/tpl/js/config.js
Normal file
14
modules/admin/tpl/js/config.js
Normal 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));
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue