From 70681efbe9acf1fba26ceadf18bc8a6f063d33b4 Mon Sep 17 00:00:00 2001 From: Piotr Zarzycki Date: Fri, 29 Nov 2024 14:56:48 +0100 Subject: [PATCH] Should be dispatched event instead string itself (reference #74) --- .../net/apacheRoyaleTemplatedApp/view/general/LoginPopUp.mxml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Super.Human.Portal_Royale/src/net/apacheRoyaleTemplatedApp/view/general/LoginPopUp.mxml b/Super.Human.Portal_Royale/src/net/apacheRoyaleTemplatedApp/view/general/LoginPopUp.mxml index 977b116..0cc8bf2 100644 --- a/Super.Human.Portal_Royale/src/net/apacheRoyaleTemplatedApp/view/general/LoginPopUp.mxml +++ b/Super.Human.Portal_Royale/src/net/apacheRoyaleTemplatedApp/view/general/LoginPopUp.mxml @@ -104,7 +104,7 @@ _loginFailed = value; loginFormValidator.loginFailed = value; - loginForm.dispatchEvent("loginFailed"); + loginForm.dispatchEvent(new Event("loginFailed")); } }