LDAP-UI integration code

This commit is contained in:
Pranav Saxena 2013-02-19 16:40:47 +05:30
parent d8537a4446
commit bff3d8ac9a
1 changed files with 3 additions and 5 deletions

View File

@ -97,19 +97,17 @@
ssl: {
label: 'SSL'
}
},
dataProvider:function(args){
var data = {};
listViewDataProvider(args, data);
$.ajax({
url: createURL(''), //Need a list LDAP configuration API call which needs to be implemented
url: createURL('ldapConfig&listall=true'), //Need a list LDAP configuration API call which needs to be implemented
data: data,
success: function(json) {
// var items = json.listldapconfigresponse;
var items = json.ldapconfigresponse.ldapconfig;
args.response.success({data:items});
},
error: function(data) {
@ -185,7 +183,7 @@
dataType: "json",
async: true,
success: function(json) {
var items = json.ldapconfigresponse;
var items = json.ldapconfigresponse.ldapconfig;
args.response.success({
data: items
});