diff --git a/wwwroot/user/up_login.dspy b/wwwroot/user/up_login.dspy index 9024ca5..d456bad 100644 --- a/wwwroot/user/up_login.dspy +++ b/wwwroot/user/up_login.dspy @@ -105,6 +105,13 @@ async with db.sqlorContext(dbname) as sor: "actiontype":"script", "target": f'body.login_window', "script":"this.destroy()" + }, + { + "wid":"self", + "event":"dismissed", + "actiontype":"script", + "target":"self", + "script":"if(bricks.app && bricks.app.dispatch) bricks.app.dispatch('user_logined')" } ] }