Changeset 3018 for branches/2.2/expressoAdmin1_2/js/jscode/users.js
- Timestamp:
- 07/08/10 17:52:20 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/expressoAdmin1_2/js/jscode/users.js
r1913 r3018 139 139 if (document.forms[0].mailalternateaddress.value != '') 140 140 attrs_array['mailalternateaddress'] = document.forms[0].mailalternateaddress.value; 141 var attributes = connector.serialize(attrs_array);141 var attributes = admin_connector.serialize(attrs_array); 142 142 143 143 var handler_validate_fields = function(data) … … 156 156 if (type == 'create_user') 157 157 { 158 // Turn enabled checkbox on create user. 159 document.getElementById('changepassword').disabled = false; 158 160 cExecuteForm ("$this.user.create", document.forms[0], handler_create); 159 161 } … … 203 205 attrs_array['first_name'] = first_name; 204 206 attrs_array['second_name'] = second_name; 205 var attributes = connector.serialize(attrs_array);207 var attributes = admin_connector.serialize(attrs_array); 206 208 207 209 var handler_generate_login = function(data) { … … 539 541 attrs_array['type'] = 'rename_user'; 540 542 attrs_array['uid'] = new_uid; 541 attributes = connector.serialize(attrs_array);543 attributes = admin_connector.serialize(attrs_array); 542 544 543 545 cExecute ('$this.ldap_functions.validate_fields&attributes='+attributes, handler_validate_fields);
Note: See TracChangeset
for help on using the changeset viewer.