//this.getUserById.doCall(); if (this.user_id!=0) this.getUserById.doCall(); if ($debug) Debug.write("getTimeZoneOffset callback ",returnValue); var std_time_offset = Number(returnValue); this.setOffset(std_time_offset); 0) { timeZoneJavaFormat += "+"+std_time_offset; } else { timeZoneJavaFormat += "-"+std_time_offset; } if ($debug) Debug.write("timeZoneJavaFormat :: ",timeZoneJavaFormat); this._timeZone.selectItem(timeZoneJavaFormat); ]]> if (this.user_id!=0){ this.deleteUserAdmin.doCall(); } this.user_id = obj.user_id; if (this.user_id!=0){ if ($debug) Debug.write("this.getUserById this.user_id",this.user_id); this.getUserById.doCall(); } return canvas.sessionId; return parent.parent.user_id; if($debug) Debug.write("[admin]userValueForm/getUserById: ",value); parent.initFields(value); return canvas.sessionId; return parent.parent.user_id; //Debug.write("deleteUserAdmin ",value); //this.parent.destroy(); if (value>0){ this.parent.parent._turnoverlist.oncallnext.sendEvent(); this.parent.onnew.sendEvent(); } this.sendObject=new Array(); this.sendObject["user_idClient"] = this.parent.user_id; this.sendObject["login"] = this.parent.username.getText(); this.sendObject["password"] = this.parent.userpass1.getText(); this.sendObject["firstname"] = this.parent.firstname.getText(); this.sendObject["lastname"] = this.parent.lastname.getText(); this.sendObject["email"] = this.parent.email.getText(); this.sendObject["phone"] = this.parent.phone.getText(); this.sendObject["sendSMS"] = parent.sendSMS.getValue(); this.sendObject["street"] = this.parent.street.getText(); this.sendObject["additionalname"] = this.parent.house.getText(); this.sendObject["zip"] = this.parent.zip.getText(); this.sendObject["town"] = this.parent.town.getText(); this.sendObject["states_id"] = this.parent.state.getValue(); this.sendObject["comment"] = this.parent.adress_comment.getText(); this.sendObject["telefon"] = ''; this.sendObject["fax"] = ''; var date = this.parent.age.getText(); if (date.length>0) date = parseStringToDate(date); this.sendObject["userage"] = date; this.sendObject["mobil"] = ''; this.sendObject["availible"] = 0; this.sendObject["status"] = Number(this.parent.status.getValue()); this.sendObject["level_id"] = Number(this.parent.level.getValue()); this.sendObject["salutations_id"] = Number(this.parent.salutation.getValue()); this.sendObject["jNameTimeZone"] = parent._timeZone.getValue(); this.sendObject["language_id"] = parent.languages.getValue(); this.sendObject["forceTimeZoneCheck"] = parent.forceTimeZoneCheck.getValue(); this.sendObject["organisations"] = this.parent._organisationslist.getAllItems(); this.sendObject["userOffers"] = parent.userOffers.getText(); this.sendObject["userSearchs"] = parent.userSearchs.getText(); var showContactData = Number(parent.showContactData.getValue()); if (showContactData == 1) { this.sendObject["showContactData"] = true; this.sendObject["showContactDataToContacts"] = true; } else if (showContactData == 2) { this.sendObject["showContactData"] = false; this.sendObject["showContactDataToContacts"] = true; } else if (showContactData == 3) { this.sendObject["showContactData"] = false; this.sendObject["showContactDataToContacts"] = false; } if ($debug) Debug.write("prepareCall: ",this.sendObject); return canvas.sessionId; return parent.sendObject; 0){ var obj = new Array(); obj["user_id"] = val; this.parent.initValueFieldsByObject(obj); if (this.parent._organisationslist.getAllItems().length < 1) { new lz.rpcErrorDialog(canvas.main_content._content.inner,{errorid:-23}); } this.parent.parent._turnoverlist.oncallnext.sendEvent(); } ]]> var g = canvas.getUserData(); if($debug) Debug.write("checkLoginData/g: ",g); if (g["userlang"]!=null) { this.selectItem(g["userlang"]); } else { this.selectItem(String(canvas.thishib.userlang)); } this.parent.addOrganisationToUser(); //if (this.user_id!=0) new lz.chooseOrganisationWindow(parent,{refObj:this,item_id:this.user_id}); new lz.confirmDeleteWindow(canvas.main_content._content.inner,{refObj:this}); if (this.parent._organisationslist._selected!=null) for (var i in this.parent._organisationslist._selected) this.parent._organisationslist.removeItem(this.parent._organisationslist._selected[i].value);