Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- From eoa.de.inbox@fetchmail.local Thu Mar 18 09:26:37 2010
- MIME-Version: 1.0
- Received: from mail.eoa.de [192.168.1.3]
- by ask.home.local with IMAP (fetchmail-6.3.11)
- for <ingo@localhost> (single-drop); Thu, 18 Mar 2010 09:26:37 +0100 (CET)
- Received: from mail03do.versatel.de (89.245.129.23) by mail.eoa.de
- (192.168.1.3) with Microsoft SMTP Server id 14.0.682.1; Thu, 18 Mar 2010
- 09:24:35 +0100
- Received: (qmail 5911 invoked from network); 18 Mar 2010 08:26:03 -0000
- Received: from i577b96c7.versanet.de (HELO eoa-dortmund-krabbe.dyndns.org)
- ([87.123.150.199]) (envelope-sender
- <ingo@eoa-dortmund-krabbe.dyndns.org>) by mail03do.versatel.de
- (qmail-ldap-1.03) with SMTP for <ingo.krabbe@eoa.de>; 18 Mar 2010
- 08:26:01 -0000
- Received: by eoa-dortmund-krabbe.dyndns.org (Postfix, from userid 1000) id
- 3508511875B; Thu, 18 Mar 2010 09:25:58 +0100 (CET)
- From: <ingo.krabbe@eoa.de>
- To: <ingo.krabbe@eoa.de>
- Subject: [PATCH] newsletter and login changes
- Date: Thu, 18 Mar 2010 09:25:36 +0100
- Message-ID: <1268900736-26159-2-git-send-email-ingo.krabbe@eoa.de>
- In-Reply-To: <1268900736-26159-1-git-send-email-ingo.krabbe@eoa.de>
- References: <1268900736-26159-1-git-send-email-ingo.krabbe@eoa.de>
- X-WatchGuard-IPS: message checked
- X-WatchGuard-Spam-ID: str=0001.0A090206.4BA1E39C.00C3,ss=1,fgs=0
- X-WatchGuard-Spam-Score: 0, clean; 0, no virus
- X-WatchGuard-Mail-Client-IP: 89.245.129.23
- X-WatchGuard-Mail-From: ingo@eoa-dortmund-krabbe.dyndns.org
- X-WatchGuard-AntiVirus: part scanned. clean action=allow
- Content-Type: text/plain
- Return-Path: ingo@eoa-dortmund-krabbe.dyndns.org
- X-MS-Exchange-Organization-AuthSource: coresrv1.eoa.intra
- X-MS-Exchange-Organization-AuthAs: Anonymous
- X-MS-Exchange-Organization-PRD: eoa.de
- X-MS-Exchange-Organization-SenderIdResult: None
- Received-SPF: None (coresrv1.eoa.intra: ingo.krabbe@eoa.de does not
- designate permitted sender hosts)
- Status: RO
- Content-Length: 20663
- Lines: 588
- From: Ingo Krabbe <ingo.krabbe@eoa.de>
- ---
- club/newsletter/NewsletterConfigurator.as | 26 +++-
- core/abstract/AbstractStage.as | 4 +-
- data/IUserData.as | 2 +
- data/UserData.as | 18 ++-
- modules/top/club/assets/ClubBar.as | 241 +++++++++++++----------------
- 5 files changed, 139 insertions(+), 152 deletions(-)
- diff --git a/club/newsletter/NewsletterConfigurator.as b/club/newsletter/NewsletterConfigurator.as
- index 7a9a749..6b5ff1a 100644
- --- a/club/newsletter/NewsletterConfigurator.as
- +++ b/club/newsletter/NewsletterConfigurator.as
- @@ -79,8 +79,9 @@ public class NewsletterConfigurator extends Sprite implements INewsLetter {
- public static const NC_TAIL_O3:int = 11;
- public static const NC_TAIL_O4:int = 12;
- public static const NC_TAIL_O5:int = 13;
- + public static const NC_TAIL_O6:int = 14;
- - public static const _EOF_NC:int = 14;
- + public static const _EOF_NC:int = 15;
- public static const SB_UP:int = 0;
- public static const SB_DOWN:int = 1;
- @@ -94,7 +95,7 @@ public class NewsletterConfigurator extends Sprite implements INewsLetter {
- ******************************************************************************/
- public function NewsletterConfigurator() {
- status= 0;
- - //status |= (1<<DEBUG_SET);
- + status |= (1<<DEBUG_SET);
- if ( stage ) { w = stage.stageWidth; h = stage.stageHeight; }
- else { w=740; h=310; }
- show(null,null);
- @@ -152,6 +153,7 @@ private function ur_clicked(e:Event):void { clickEvent(e,5); }
- private function cancel_clicked(e:Event):void { clickEvent(e,7); }
- private function faq_clicked(e:Event):void { clickEvent(e,9); }
- +private function bottom_clicked(e:Event):void { clickEvent(e,11); }
- private function clickEvent(e:Event, i:int ):void {
- var url:String="";
- @@ -168,15 +170,18 @@ private function clickEvent(e:Event, i:int ):void {
- url = news_data.body.object.(@bid==id).linkurl;
- break;
- case NC_TAIL_O1: case NC_TAIL_O2: case NC_TAIL_O3:
- - case NC_TAIL_O4: case NC_TAIL_O5:
- + case NC_TAIL_O4: case NC_TAIL_O5: case NC_TAIL_O6:
- id = i-NC_TAIL_O1+1;
- type = "tail";
- url = news_data.tail.object.(@tid==id).linkurl;
- break;
- }
- if ( url ) {
- - CallConverter.call("quickFadeIn();");
- - CallConverter.call(url);
- + var urlRequest:URLRequest = new URLRequest(url);
- +// CallConverter.call("quickFadeIn();");
- + Logger.debug("click url:"+url);
- + flash.net.navigateToURL(urlRequest, "_blank");
- +// CallConverter.call(url);
- }
- if ( status & (1<<DEBUG_SET) )
- Logger.debug("Click Event="+type+" "+id+" :"+url);
- @@ -420,6 +425,15 @@ private function addTail():void {
- x.addChild(news_content[i]);
- x.x = px; x.y = py;
- frame.addChild(x);
- + px = x.x + x.width;
- + }
- + i=NC_TAIL_O6; if ( news_content[i] ) { /*main*/
- + x = new Sprite();
- + x.buttonMode = true;
- + x.addEventListener(MouseEvent.CLICK, bottom_clicked);
- + x.addChild(news_content[i]);
- + x.x = px; x.y = py;
- + frame.addChild(x);
- py = x.y + x.height;
- }
- ph = py-py1;
- @@ -599,7 +613,7 @@ public function get content_url():String {
- ret = news_data.body.object.(@bid==nc_I-NC_BODY_O1+1).image;
- break;
- case NC_TAIL_O1: case NC_TAIL_O2: case NC_TAIL_O3:
- - case NC_TAIL_O4: case NC_TAIL_O5:
- + case NC_TAIL_O4: case NC_TAIL_O5: case NC_TAIL_O6:
- ret = news_data.tail.object.(@tid==nc_I-NC_TAIL_O1+1).image;
- break;
- }
- diff --git a/core/abstract/AbstractStage.as b/core/abstract/AbstractStage.as
- index d14012d..65fdb33 100644
- --- a/core/abstract/AbstractStage.as
- +++ b/core/abstract/AbstractStage.as
- @@ -66,8 +66,8 @@ package tf.core.abstract
- private function prepairUserData () : void
- {
- _userData = UserData.getInstance( );
- - _userData.loginService = LoginService.getInstance ( ServiceVars.getDefServiceURI(stage) );
- - _userData.logoutService = LogoutService.getInstance ( ServiceVars.getDefServiceURI(stage) );
- + _userData.loginService = null;
- + _userData.logoutService = null;
- _imCtrl = IMctrl.getInstance();
- }
- diff --git a/data/IUserData.as b/data/IUserData.as
- index 49cd438..5036a55 100644
- --- a/data/IUserData.as
- +++ b/data/IUserData.as
- @@ -25,6 +25,8 @@ package tf.data
- function get parentsMail () : String;
- function set alternativMail ( p_alternativMail : String ) : void;
- function get alternativMail () : String;
- + function set flags ( f : int ) : void;
- + function get flags () : int;
- function get startNewsletter():String;
- function set startNewsletter(nl:String):void;
- diff --git a/data/UserData.as b/data/UserData.as
- index 0cea765..cfc0d8b 100644
- --- a/data/UserData.as
- +++ b/data/UserData.as
- @@ -21,6 +21,7 @@ package tf.data
- private var _gender : String;
- private var _parentsMail : String;
- private var _alternativMail : String;
- + public var _flags:int;
- private var startNL:String;
- @@ -47,6 +48,9 @@ package tf.data
- }
- + public function set flags ( f: int ) : void { _flags = f; }
- + public function get flags () : int { return _flags; }
- +
- //
- public function set name ( p_name : String ) : void
- {
- @@ -77,26 +81,26 @@ package tf.data
- {
- return _isLoggedIn;
- }
- - //
- +
- + /* FIXME: disable service classes */
- public function set loginService ( p_loginService : LoginService ) : void
- {
- _loginService = p_loginService;
- }
- - //
- +
- public function get loginService () : LoginService
- {
- - return _loginService;
- + return null;
- }
- - //
- - //
- +
- public function set logoutService ( p_logoutService : LogoutService ) : void
- {
- _logoutService = p_logoutService;
- }
- - //
- +
- public function get logoutService () : LogoutService
- {
- - return _logoutService;
- + return null;
- }
- public function get birthdate () : Date
- diff --git a/modules/top/club/assets/ClubBar.as b/modules/top/club/assets/ClubBar.as
- index 73c72eb..d0084ad 100644
- --- a/modules/top/club/assets/ClubBar.as
- +++ b/modules/top/club/assets/ClubBar.as
- @@ -1,5 +1,7 @@
- package tf.modules.top.club.assets
- {
- + import org.osflash.thunderbolt.Logger;
- +
- import flash.display.DisplayObject;
- import flash.display.Loader;
- import flash.display.LoaderInfo;
- @@ -28,15 +30,16 @@ package tf.modules.top.club.assets
- import tf.modules.top.club.IClub;
- import tf.club.login.CStartModules;
- import tf.club.login.ICStart;
- - import tf.services.LoginService;
- - import tf.services.LogoutService;
- import tf.services.ServiceVars;
- import tf.services.club.bar.IStateService;
- import tf.services.club.bar.StateService;
- import tf.services.statistics.AdvertiseManager;
- - import netTrekLibs.data.services.xml.Service;
- +
- + import tf.services.ServiceEvent;
- + import tf.services.Service;
- + import tf.services.NewService;
- +
- import netTrekLibs.data.services.xml.ServiceEvents;
- - import netTrekLibs.utils.Logger;
- [Embed(source='/assets/gfx/club/club.swf#ClubBar')]
- public class ClubBar
- @@ -54,7 +57,8 @@ package tf.modules.top.club.assets
- public var avatar : MovieClip;
- public var friendsIcon : MovieClip;
- private var _friendsIcon : UIbutton;
- - public var chatIcon : MovieClip;
- private var _chatIcon : UIbutton;
- + public var chatIcon : MovieClip;
- + private var _chatIcon : UIbutton;
- public var greetsIcon : MovieClip;
- private var _greetsIcon : UIbutton;
- public var mailIcon : MovieClip;
- @@ -73,7 +77,7 @@ package tf.modules.top.club.assets
- private var password_input : TextField=new TextField();
- //
- private var _currentState : String;
- - private var ts : Service;
- +// private var ts : Service;
- private var isJSLogin : Boolean = false;
- private var mails_txt : TextField;
- private var messages_txt : TextField;
- @@ -81,6 +85,7 @@ package tf.modules.top.club.assets
- private var currAvatarID : int = int.MIN_VALUE;
- private const defaultUserName : String = "Nickname"; // Nickname
- private const defaultPassword : String = "Passwort"; // Passwort
- + public var loginStatus:int = -1;
- // private var _sessionAliveCheck : Boolean;
- public function ClubBar ()
- @@ -126,11 +131,6 @@ package tf.modules.top.club.assets
- textfieldsScreen1.username_input.restrict = "a-zA-Z0-9\\-\\_";
- textfieldsScreen1.password_input.restrict = "a-zA-Z0-9\\-\\_";
- textfieldsScreen1.password_input.displayAsPassword = true;
- -
- - // Check for autologin
- -// addLoginEvents();
- -// _sessionAliveCheck = true;
- -// loginService.sessionAliveCheck();
- }
- @@ -150,17 +150,6 @@ package tf.modules.top.club.assets
- return moduleCtrl.imCtrl;
- }
- - //
- - public function get loginService () : LoginService {
- - return userData.loginService;
- - }
- -
- - //
- - public function get logoutService () : LogoutService {
- - return userData.logoutService;
- - }
- -
- - //
- private function checkLogin ( e : Event = null ) : void
- {
- /*
- @@ -169,7 +158,7 @@ package tf.modules.top.club.assets
- //TODO : SABAN :::: comment later
- // checkLoginSuccess ( );
- // return;
- - Logger.log( "SABAN ::: CHECK LOGIN because login was pressed ", false );
- + Logger.debug( "SABAN ::: CHECK LOGIN because login was pressed ", false );
- // quickConfirm("LOGIN", "ACHTUNG! Auf Grund technischer\n" +
- // "Umstellungen kannst du dich\nmomentan nicht im Treff anmelden.\n" +
- // "Bitte versuch es später noch einmal." +
- @@ -206,125 +195,102 @@ package tf.modules.top.club.assets
- userData.name = n;
- userData.password = p;
- + userData.flags=0;
- isJSLogin = false;
- - addLoginEvents( );
- - loginService.login( userData.name, userData.password );
- + doLogin();
- }
- public function doJSlogin ( username : String, md5Password : String ) : void
- {
- if ( !userData.isLoggedIn ) {
- isJSLogin = true;
- - Logger.log( "SABAN ::: doJSlogin with username:= " + username + " & md5Password:= " + md5Password, false );
- - addLoginEvents( );
- + Logger.debug( "doJSlogin with username:= "+ username
- + +" & md5Password:= " + md5Password );
- userData.name = username;
- userData.password = md5Password;
- - loginService.login( username, md5Password, false );
- + userData.flags=0;
- + //loginService.login( username, md5Password );
- }
- }
- - private function addLoginEvents () : void
- + public function doLogin(): void
- {
- - clubInstance.showLoadingAnimation( );
- - try {
- + var x:XML = new XML(<data><name/><password md5="true"/></data>);
- + var req:NewService;
- + x.name = userData.name;
- + x.password = userData.password;
- +
- + req = new NewService( "login", "start", x );
- + req.addEventListener(ServiceEvent.READY, checkLoginSuccess);
- + req.addEventListener(ServiceEvent.IOERROR, handleError);
- + clubInstance.showLoadingAnimation( );
- ExternalInterface.call( 'expandNavDiv' );
- - }
- - catch ( e : Error) {
- - }
- - loginService.addEventListener( ServiceEvents.COMPLETE, checkLoginSuccess );
- - loginService.addEventListener( ServiceEvents.ERROR, handelError );
- }
- - private function clearLoginEvents () : void
- +
- + private function finalizeLogin( e:Event ) : void
- {
- clubInstance.hideLoadingAnimation( );
- - try {
- - moduleCtrl.fitDivSize( );
- + moduleCtrl.fitDivSize( );
- + if ( e ) {
- + e.target.removeEventListener( ServiceEvent.READY, checkLoginSuccess );
- + e.target.removeEventListener( ServiceEvent.IOERROR, handleError );
- }
- - catch ( e : Error) {
- - }
- - try {
- - loginService.removeEventListener( ServiceEvents.COMPLETE, checkLoginSuccess );
- - } catch ( e1 : Error) {
- - }
- - try {
- - loginService.removeEventListener( ServiceEvents.ERROR, handelError );
- - } catch ( e2 : Error) {
- - }
- }
- - private function handelError ( e : ServiceEvents = null ) : void
- + private function handleError ( e : ServiceEvent ) : void
- {
- - clearLoginEvents( );
- - Logger.log( "ERROR#################" + e.eventInfo );
- - try {
- - ExternalInterface.call( 'expandNavDiv' );
- - }
- - catch ( e : Error) {
- - }
- -
- - // if ( ! _sessionAliveCheck )
- - quickConfirm( "Fehlgeschlagen", "Leider haben wir technische Probleme. Bitte versuche es später noch einmal!" );
- -
- -// _sessionAliveCheck = false;
- - }
- -
- - private function checkLoginSuccess ( e : ServiceEvents = null ) : void
- - {
- - clearLoginEvents( );
- - try {
- - userData.isLoggedIn = loginService.isLoginSuccess( ) == true;
- - if ( userData.isLoggedIn )
- - clubInstance.loadNext( );
- - }
- - catch ( e1 : Error) {
- - userData.isLoggedIn = false;
- - }
- - try {
- - userData.name = String( loginService.name ).toLowerCase( );
- - } catch ( e2 : Error) {
- - userData.name = "UNKOWN" ;
- - }
- - Logger.log( "SABAN___LOGIN INFORMATION RECEIVED ::: " + userData.isLoggedIn );
- - Logger.log( "SABAN___LOGIN INFORMATION RECEIVED ::: status is" + loginService.status );
- + finalizeLogin(e);
- + Logger.error( "Login? ERROR "+ e.target.data );
- + ExternalInterface.call( 'expandNavDiv' );
- - if ( !userData.isLoggedIn ) {
- - try {
- -switch (loginService.status) {
- - case 5:
- - quickConfirm( "Hinweis", "Dein Zugang wurde gesperrt."
- - +" \nBitte halte dich"
- - +" an die Treff-Regeln, wenn du dich erneut anmelden"
- - +" möchtest." );
- - break;
- - case 9:
- - quickConfirm( "Achtung:","Alle Treff Mitglieder haben ein"
- - +" neues Passwort an die E-Mail-Adresse,"
- - +" die bei der Neuanmeldung angegeben wurde,"
- - +" geschickt bekommen." );
- - break;
- - case 7: // Dont show error window if user is not activated yet!
- - // handleLogin will perform the needed state-change to
- - // inform the user.
- - break;
- - default:
- - quickConfirm( "Fehlgeschlagen", "Dein Nickname oder"
- - +" dein Passwort ist falsch.\n"
- - +"Bitte überprüfe deine Eingabe." );
- - break;
- -}
- - }
- - catch ( e : Error) {
- - }
- + quickConfirm( "Fehlgeschlagen",
- + "Leider haben wir technische Probleme."
- + +"Bitte versuche es später noch einmal!" );
- + }
- +
- + private function checkLoginSuccess ( e : ServiceEvent ) : void
- + {
- + var service:Service = e.object;
- + loginStatus = -1;
- + finalizeLogin(e);
- + userData.isLoggedIn = false;
- + if ( service.xml_data.child("name").length()>0 )
- + userData.name = String(service.xml_data.name).toLowerCase();
- + if ( service.xml_data.child("status").length()>0 )
- + loginStatus = parseInt(service.xml_data.status);
- + if ( service.xml_data.child("flags").length()>0 )
- + userData.flags = parseInt(service.xml_data.flags);
- + Logger.debug("Login Service answer="+service.xml_data.toString());
- +
- + switch ( loginStatus ) {
- + case 1: userData.isLoggedIn =true;
- + case 5:
- + quickConfirm( "Hinweis", "Dein Zugang wurde gesperrt."
- + +" \nBitte halte dich"
- + +" an die Treff-Regeln, wenn du dich erneut anmelden"
- + +" möchtest." );
- + break;
- + case 9:
- + quickConfirm( "Achtung:","Alle Treff Mitglieder haben ein"
- + +" neues Passwort an die E-Mail-Adresse,"
- + +" die bei der Neuanmeldung angegeben wurde,"
- + +" geschickt bekommen." );
- + break;
- + case 7: // Dont show error window if user is not activated yet!
- + // handleLogin will perform the needed state-change to
- + // inform the user.
- + break;
- + default:
- + quickConfirm( "Fehlgeschlagen", "Dein Nickname oder"
- + +" dein Passwort ist falsch.\n"
- + +"Bitte überprüfe deine Eingabe." );
- + break;
- }
- - // if ( userData.isLoggedIn )
- + if ( userData.isLoggedIn ) clubInstance.loadNext();
- handelLoginView( );
- -
- -// if ( !_sessionAliveCheck || userData.isLoggedIn )
- -// handelLoginView( );
- -// _sessionAliveCheck = false;
- }
- private function quickConfirm ( header : String, mesage : String, settings : ConfirmBTNsettings = null ) : void
- @@ -336,25 +302,28 @@ switch (loginService.status) {
- private function prepairRuntimeView () : void
- {
- - try {
- - // userData.name = (loginService.name).toLowerCase();
- - userData.name = String( loginService.name ).toLowerCase( );
- - } catch ( e2 : Error) {
- - userData.name = "UNKOWN" ;
- - }
- - showRunTime( );
- - clubInstance.clubScreen.group.enable( );
- - clubInstance.clubScreen.friendList.show( );
- + showRunTime();
- + clubInstance.clubScreen.group.enable();
- + clubInstance.clubScreen.friendList.show();
- clubInstance.clubScreen.loadCurrentPet();
- }
- + public function get isFirstLogin():Boolean
- + {
- + return ( userData.flags & (1<<9) )? true: false;
- + }
- + public function get isLoggedIn():Boolean
- + {
- + return userData.isLoggedIn;
- + }
- +
- private function handelLoginView () : void
- {
- var cstart : ICStart;
- var module : IModule;
- AdvertiseManager.getInstance( ).notify( AdvertiseManager .ADVERTISE_LOGIN );
- - if ( userData.isLoggedIn ) {
- + if ( isLoggedIn ) {
- userData.name = userData.name.toLowerCase( );
- imCtrl.addEventListener( IMEvent.ALREADY_LOGGED_IN, imAlreadyLoggedIn );
- imCtrl.addEventListener( IMEvent.FAILED, imFailed );
- @@ -367,7 +336,7 @@ switch (loginService.status) {
- module = clubInstance.currentModule;
- if ( module is ICStart ) {
- cstart = module as ICStart;
- - if ( loginService.isFirstLogin( ) )
- + if ( isFirstLogin )
- cstart.showStartModuleByID( CStartModules.NEWS_LETTER );
- else
- {
- @@ -386,7 +355,7 @@ switch (loginService.status) {
- module = clubInstance.currentModule;
- if ( module is ICStart ) {
- cstart = module as ICStart;
- - switch (loginService.status) {
- + switch (loginStatus) {
- case 7:
- cstart.showStartModuleByID( CStartModules.NOT_ACTIVATED );
- break;
- @@ -490,7 +459,7 @@ switch (loginService.status) {
- // {
- currAvatarID = stateService.getAvatarNum( );
- var avatarURI : String = ServiceVars .HOST_ROOT + stateService.getAvatarFile( ) + "?$" + Math.floor( Math .random( ) * 9999 ) + "=" + +Math.floor( Math .random( ) * 9999 );
- - Logger.log( "important ::: LOADIN AVATAR_URI ::: " + avatarURI, false );
- + Logger.debug( "important ::: LOADIN AVATAR_URI ::: " + avatarURI );
- // Logger.log("important ::: START AVATAR XY ::: " + avatar.x + " # " + avatar.y, false );
- try {
- while ( avatar.numChildren > 0 )
- @@ -529,7 +498,7 @@ switch (loginService.status) {
- try {
- var lInfo : LoaderInfo = event.target as LoaderInfo;
- var loader : Loader = lInfo.loader;
- - Logger.log( "important ::: LOADED AVATAR ::: " + lInfo.url, false );
- + Logger.debug( "important ::: LOADED AVATAR ::: " + lInfo.url );
- // Logger.log("important ::: LOADED AVATAR XY ::: " + avatar.x + " # " + avatar.y, false );
- // Logger.log("important ::: LOADED LOADER XY ::: " + loader.x + " # " + loader.y, false );
- avatar.visible = true;
- @@ -545,7 +514,7 @@ switch (loginService.status) {
- private function loadingError (event : Event) : void
- {
- - Logger.log( "important ::: EROR WHILE LOADING AVATA " + event, false );
- + Logger.debug( "important ::: EROR WHILE LOADING AVATA " + event );
- try {
- var lInfo : LoaderInfo = event.target as LoaderInfo;
- clearLoderEvents( lInfo );
- @@ -564,13 +533,11 @@ switch (loginService.status) {
- avatar.visible = false;
- currAvatarID = int.MAX_VALUE;
- - try {
- stateService.stop( );
- stateService.removeEventListener( ServiceEvents.COMPLETE, stateServiceComplete );
- - logoutService.logout( userData.name, userData.password );
- - // ?password needed for logout?
- - imCtrl.logout( );
- - } catch ( e4 : Error) {}
- + // ?password needed for logout? of course not
- +//TODO: logoutService.logout( userData.name, userData.password );
- +//TODO: imCtrl.logout( );
- imCtrl.removeEventListener( IMEvent.ALREADY_LOGGED_IN, imAlreadyLoggedIn );
- imCtrl.removeEventListener( IMEvent.FAILED, imFailed );
- clubInstance.moduleCtrl.userData.isLoggedIn = false;
- @@ -578,11 +545,11 @@ switch (loginService.status) {
- password_input = textfieldsScreen1.password_input;
- username_input = textfieldsScreen1.username_input;
- - Logger.log("** TextFieldsScreen1="+textfieldsScreen1, false);
- - Logger.log("** password_input="+password_input, false);
- - Logger.log("** username_input="+username_input, false);
- - Logger.log("** TF:password_input="+textfieldsScreen1.password_input, false);
- - Logger.log("** TF:username_input="+textfieldsScreen1.username_input, false);
- + Logger.debug("** TextFieldsScreen1="+textfieldsScreen1
- + +"\n** password_input="+password_input
- + +"\n** username_input="+username_input
- + +"\n** TF:password_input="+textfieldsScreen1.password_input
- + +"\n** TF:username_input="+textfieldsScreen1.username_input);
- username_input.maxChars = 20;
- password_input.maxChars = 20;
- --
- 1.7.0.54.g1958e.dirty
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement