if (this.childObj!=null) this.childObj.close(); canvas.thishib.setDefaultUserLanguage(); _mainScrollBar.setAttribute("visibility","hidden"); lz.Focus.setFocus(this.username,true); canvas.focusOnItem = this.username; this.enterPressed = false; if (this.b2.visible) { this.b2.onclick.sendEvent(); } else { this.b3.onclick.sendEvent(); } var g = canvas.getUserData(); if($debug) Debug.write("checkLoginData/g: ",g); if (g["username"]!=null) this.setAttribute('text',g["username"]); if ( key == 13 ) { this.parent.enterPressed = true; } var g = canvas.getUserData(); if (g["userpass"]!=null) this.setAttribute('text',g["userpass"]); if ( key == 13 ) { this.parent.enterPressed = true; } //this.selectItemAt(0); this.getActiveLdapConfigs.doCall(); //The onResult-Handler will be called be the rtmpconnection lz.Browser.loadURL("http://apps.facebook.com/openmeetings/","_parent"); this.parent.errormess.setAttribute('text',''); if (this.parent.userpass.getText().length == 0) { new lz.rpcErrorDialog(canvas.main_content._content.inner,{errorid:-51}); return; } this.parent.loginUser.doCall(); //Recheck the Applet Status getAppletStatus(); var orgIndexId = Number(parent.organisation.getValue()); hib.currentdomain = hib.userobject.organisation_users[orgIndexId].organisation.name; hib.currentdomainObj = hib.userobject.organisation_users[orgIndexId].organisation; hib.setCurrentUserOrganization.doCall(); hib.getLanguageByIdAndMax.start = 0; hib.getLanguageByIdAndMax.doCall(); parent.close(); return canvas.sessionId; return parent.parent.username.getText(); return parent.parent.userpass.getText(); return parent.parent._savelogindata.getValue(); return null; return Number(parent.parent.domain.getValue()); = 2) { canvas.becomemoderator = true; } else { canvas.becomemoderator = false; } if ($debug) Debug.write("value.organisation_users ",value.organisation_users); hib.userobject = value; if (value.organisation_users.length==0){ if ($debug) Debug.warn("this user has no Organisation "); } else if (value.organisation_users.length==1){ hib.currentdomain = value.organisation_users[0].organisation.name; hib.currentdomainObj = value.organisation_users[0].organisation; hib.setCurrentUserOrganization.doCall(); hib.getLanguageByIdAndMax.start = 0; if (canvas.thishib.sip_enabled) { //Perform the Login to the SIP Applet if (sipIsEnabled()) { if ($debug) Debug.write(" -- sipIsEnabled -- "); parent.setAttribute("visibility","hidden"); this.sipLoader = new lz.sipLoader(canvas); loginSipUser(hib.userobject.userSipData,this); } else { new lz.labelerrorPopup(canvas,{error:'SIP Applet is not ready!'}); hib.getLanguageByIdAndMax.doCall(); canvas.focusOnItem = null; parent.close(); } } else { hib.getLanguageByIdAndMax.doCall(); canvas.focusOnItem = null; parent.close(); } } else { parent._savelogindata.setAttribute('visible',false); parent.n1.setAttribute('visible',false); parent.username.setAttribute('visible',false); parent.n2.setAttribute('visible',false); parent.userpass.setAttribute('visible',false); parent.n5.setAttribute('visible',false); parent.colors.setAttribute('visible',false); parent._register.setAttribute('visible',false); parent.b2.setAttribute('visible',false); parent.organisation_label_info.setAttribute('visible',true); parent.organisation_label.setAttribute('visible',true); parent.organisation.setAttribute('visible',true); parent.b3.setAttribute('visible',true); parent.domain_label.setAttribute('visible',false); parent.domain.setAttribute('visible',false); for (var i=0;i this.sipLoader.destroy(); hib.getLanguageByIdAndMax.doCall(); canvas.focusOnItem = null; parent.close(); //The onResult-Handler will be called be the rtmpconnection //Debug.write("allowFrontendRegister: ",value); if (value[0].conf_value==1){ parent._register.setAttribute('visible',true); } if (value[1].conf_value==1){ parent._facebook.setAttribute('visible',true); } if (value[5].conf_value > 0){ parent.domain.selectItemAt(value[5].conf_value); } parent.user_login_minimum_length = Number(value[2].conf_value); parent.user_pass_minimum_length = Number(value[3].conf_value); var g = canvas.getUserData(); if($debug) Debug.write("checkLoginData/g: ",g); var save = g["saveuserdata"]; if($debug) Debug.write("checkLoginData/save: ",save); if(save) this.setValue(true); " + canvas.getLabelName(1373) + " "+ canvas.currentappname +""); ]]> lz.Browser.loadURL(canvas.currentappnameurl,"_blank"); "+ canvas.getLabelName(311) +""); ]]> if (!this.showResetBox){ this.parent.showResetForm.doStart(); this.showResetBox = true; } else { this.parent.disableResetForm.doStart(); this.showResetBox = false; } var resetF=new lz.resetForm(value,{name:'_resetForm'}); lz.Keys.removeKeyComboCall(this.pressEnter, ["enter"]); this.pressEnter = new LzDelegate(resetF, "reset"); lz.Keys.callOnKeyCombo(this.pressEnter, ["enter"]); value._resetForm.destroy(); lz.Keys.removeKeyComboCall(this.pressEnter, ["enter"]); this.pressEnter = new LzDelegate(value, "login"); lz.Keys.callOnKeyCombo(this.pressEnter, ["enter"]);