Revisión 239
Añadido por Manu Mora Gordillo hace más de 13 años
controlies/trunk/applications/controlies/modules/Utils/LdapUtils.py | ||
---|---|---|
mySubRange.append(address[0].replace("dc=",""))
|
||
|
||
myRange.sort()
|
||
mySubRange.sort()
|
||
return { "ranges":myRange, "subrange":mySubRange }
|
||
|
||
# Get the max ID of the groups and users
|
controlies/trunk/applications/controlies/views/layout_form_hosts.html | ||
---|---|---|
.click( function(){ $('#dialog-form').dialog('close'); });
|
||
|
||
jQuery.post('call/json/getallranges', {}, function(result) {
|
||
$("#subrange").append(new Option(result.response["subrange"], result.response["subrange"]));
|
||
for(i=0;i<result.response["subrange"].length;i++){
|
||
$("#subrange").append(new Option(result.response["subrange"][i], result.response["subrange"][i]));
|
||
}
|
||
|
||
for(i=0;i<result.response["ranges"].length;i++){
|
||
$("#range").append(new Option(result.response["ranges"][i], result.response["ranges"][i]));
|
Exportar a: Unified diff
Ampliación de rangos en la vista