From 4df64e2b4ba9713ba98047fd757af55399b121f8 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 10 Feb 2011 13:59:12 +0800 Subject: [PATCH] Pman.Login.js --- Pman.Login.js | 2 ++ 1 file changed, 2 insertions(+) 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); } -- 2.39.2