From 21b89eeaeb9a2192b552f842161973777de056d7 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Mon, 6 Feb 2012 13:24:15 +0000 Subject: Modified html template to set focus to first useable field --- app/acf-util/logon-controller.lua | 3 ++- app/template-html.lsp | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'app') diff --git a/app/acf-util/logon-controller.lua b/app/acf-util/logon-controller.lua index df2fd70..272af78 100644 --- a/app/acf-util/logon-controller.lua +++ b/app/acf-util/logon-controller.lua @@ -66,6 +66,7 @@ logout = function(self) local logout = self.model.logoff(conf.sessiondir, sessiondata) -- We have to redirect so a new session / menu is created redirect(self, "logon") + return logout end -- Report the login status @@ -75,5 +76,5 @@ status = function(self) if self.sessiondata.userinfo then name.value = self.sessiondata.userinfo.username or "" end - return cfe({ type="group", value={username=name, sessionid=sessionid} }) + return cfe({ type="group", value={username=name, sessionid=sessionid}, label="Logon Status" }) end diff --git a/app/template-html.lsp b/app/template-html.lsp index 81043b6..ae051d2 100644 --- a/app/template-html.lsp +++ b/app/template-html.lsp @@ -28,6 +28,11 @@ end + + -- cgit v1.2.3