Changeset 47 for trunk/expressoAdmin1_2/js
- Timestamp:
- 08/10/07 14:10:38 (17 years ago)
- Location:
- trunk/expressoAdmin1_2/js/jscode
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoAdmin1_2/js/jscode/groups.js
r46 r47 322 322 function groupEmailSuggestion(concatenateDomain, type) 323 323 { 324 if (document.forms[0].email.disabled) 325 return; 326 324 327 if (type != 'create_group') 325 328 return; … … 353 356 org_name = org_name_par.split('.'); 354 357 org_name = org_name[org_name.length-1]; 355 358 356 359 if (org_name != '') 357 document.forms[0].email.value = document.forms[0].cn.value + '@' + org_name + '. ' + domain_name;360 document.forms[0].email.value = document.forms[0].cn.value + '@' + org_name + '.aaa' + domain_name; 358 361 else 359 362 document.forms[0].email.value = document.forms[0].cn.value; -
trunk/expressoAdmin1_2/js/jscode/users.js
r33 r47 108 108 109 109 // Uid & Mail exist? 110 attrs_array = new Array();110 var attrs_array = new Array(); 111 111 attrs_array['type'] = type; 112 112 attrs_array['uid'] = document.forms[0].uid.value; … … 114 114 if (document.forms[0].mailalternateaddress.value != '') 115 115 attrs_array['mailalternateaddress'] = document.forms[0].mailalternateaddress.value; 116 attributes = connector.serialize(attrs_array);116 var attributes = connector.serialize(attrs_array); 117 117 118 118 var handler_validate_fields = function(data) … … 190 190 if (!data.status){ 191 191 alert(data.msg); 192 location.href="./index.php?menuaction=expressoAdmin1_2.uiaccounts.list_users";193 192 } 194 193 else{ 195 194 alert('Usuário salvo com êxito!!'); 196 location.href="./index.php?menuaction=expressoAdmin1_2.uiaccounts.list_users";197 }195 } 196 location.href="./index.php?menuaction=expressoAdmin1_2.uiaccounts.list_users"; 198 197 return; 199 198 }
Note: See TracChangeset
for help on using the changeset viewer.