From: Alan Knowles Date: Thu, 10 Feb 2011 05:59:12 +0000 (+0800) Subject: Pman.Login.js X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=4df64e2b4ba9713ba98047fd757af55399b121f8 Pman.Login.js --- diff --git a/Pman.Login.js b/Pman.Login.js index e6a2846f..1510519a 100644 --- a/Pman.Login.js +++ b/Pman.Login.js @@ -57,6 +57,8 @@ Pman.Login = new Roo.util.Observable({ //console.log('call failure'); return Pman.Login.failure(response,opts); } + + if (!res.data.id) { // id=0 == login failure. return this.show(true); }