Multiple fixes, changes and enhancements
* mass edit selection, * child search during edit, * attr login with bind_id, * performance fix broke ldapservers that dont have havesubordinate attrs), * enable "login,class", * enable "login,base".
This commit is contained in:
@@ -1,76 +0,0 @@
|
||||
// File: search_util.js
|
||||
// Purpose:
|
||||
// This JavaScript file defines some functions used by the two search forms for
|
||||
// auto-populating the base DN dynamically when a server is selected from the
|
||||
// drop-down.
|
||||
// $Header$
|
||||
|
||||
//the array to store the server
|
||||
var servers = new Array();
|
||||
|
||||
|
||||
//---------------------------------------------------------------------
|
||||
// Definition of the object server
|
||||
//---------------------------------------------------------------------
|
||||
|
||||
//constructor of the server
|
||||
//param id the id of the server
|
||||
//param name the name of the server
|
||||
//param base_dn the base dn of the server
|
||||
|
||||
function server(id,name,base_dn){
|
||||
|
||||
//the properties of the object
|
||||
this.id =id;
|
||||
this.name = name;
|
||||
this.base_dn = base_dn;
|
||||
|
||||
// the method of the server
|
||||
this.getId=getId;
|
||||
this.setId=setId;
|
||||
this.getName = getName;
|
||||
this.setName = setName;
|
||||
this.setBaseDn = setBaseDn;
|
||||
this.getBaseDn = getBaseDn;
|
||||
}
|
||||
// set the id of the server
|
||||
function setId(id){
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
//return the id of the server
|
||||
function getId(){
|
||||
return this.id;
|
||||
}
|
||||
|
||||
// set the name of the server
|
||||
function setName(name){
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
// return the name of the server
|
||||
function getName(){
|
||||
return this.name;
|
||||
}
|
||||
|
||||
// return the base dn of the server
|
||||
function getBaseDn(){
|
||||
return this.base_dn;
|
||||
}
|
||||
|
||||
// set the base dn of the server
|
||||
function setBaseDn(base_dn){
|
||||
this.base_dn = base_dn;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------
|
||||
// End of the definition of the server
|
||||
//-----------------------------------------------------------------------
|
||||
|
||||
|
||||
// add a server object to the array of server
|
||||
function addToServersList(obj_server){
|
||||
servers[servers.length] = obj_server;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user