Changeset 3018 for branches/2.2/expressoAdmin1_2/js
- Timestamp:
- 07/08/10 17:52:20 (14 years ago)
- Location:
- branches/2.2/expressoAdmin1_2/js/jscode
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/expressoAdmin1_2/js/jscode/connector.js
r317 r3018 499 499 500 500 id = url; 501 connector.newRequest(id, url, method, handler, params);501 admin_connector.newRequest(id, url, method, handler, params); 502 502 } 503 503 … … 508 508 // form: form element (for upload files) 509 509 function cExecuteForm(url, form, handler){ 510 connector.buildBar();510 admin_connector.buildBar(); 511 511 isExecuteForm = true; 512 512 document.onmouseup = alertBut; 513 513 514 connector.showProgressBar();514 admin_connector.showProgressBar(); 515 515 if(! (divUpload = document.getElementById('divUpload'))) { 516 516 divUpload = document.createElement('DIV'); … … 554 554 if(isExecuteForm) { 555 555 if(confirm("There's an action processing. Do you want abort it?")) { 556 connector.hideProgressBar();556 admin_connector.hideProgressBar(); 557 557 isExecuteForm = false; 558 delete connector.requests[id];559 connector.requests[id] = null;558 delete admin_connector.requests[id]; 559 admin_connector.requests[id] = null; 560 560 stop(); 561 561 return; -
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.