mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-12 23:17:02 +02:00
added pop3 import to the gui
This commit is contained in:
@ -969,6 +969,26 @@ var Piler =
|
||||
},
|
||||
|
||||
|
||||
test_pop3_connection:function()
|
||||
{
|
||||
Piler.log("[test_pop3_connection]");
|
||||
|
||||
jQuery.ajax('index.php?route=import/test', {
|
||||
data: {
|
||||
type: $('#type').val(),
|
||||
server: $('#server').val(),
|
||||
username: $('#username').val(),
|
||||
password: $('#password').val()
|
||||
},
|
||||
type: "POST"
|
||||
})
|
||||
.done( function(a) {
|
||||
$('#LDAPTEST').html(a);
|
||||
})
|
||||
.fail(function(a, b) { alert("Problem retrieving XML data:" + b) });
|
||||
},
|
||||
|
||||
|
||||
clear_ldap_test: function()
|
||||
{
|
||||
$('#LDAPTEST').html('');
|
||||
|
Reference in New Issue
Block a user