From 309483a5c1bd8dc9f0199c09e82edfbccd100a56 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 23 Jun 2010 16:10:14 +0800 Subject: [PATCH] Roo/Login.js --- Roo/Login.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Roo/Login.js b/Roo/Login.js index 54d057516e..71c2500c67 100644 --- a/Roo/Login.js +++ b/Roo/Login.js @@ -422,7 +422,7 @@ Roo.extend(Roo.Login, Roo.LayoutDialog, { 'lang' : Roo.state.Manager.get(this.realm + '.lang', 'en') }); - Pman.Login.switchLang(Roo.state.Manager.get(this.realm + '.lang', '')); + this.switchLang(Roo.state.Manager.get(this.realm + '.lang', '')); if (this.form.findField('username').getValue().length > 0 ){ this.form.findField('password').focus(); } else { @@ -466,7 +466,7 @@ Roo.extend(Roo.Login, Roo.LayoutDialog, { ); Roo.state.Manager.set( this.dialog.realm + '.lang', - Pman.Login.form.findField('lang').getValue() + this.form.findField('lang').getValue() ); this.dialog.fillAuth(act.result.data); -- 2.39.2