From: Janusz Dobrowolski Date: Sun, 20 Sep 2009 16:29:54 +0000 (+0000) Subject: Fixed previous interface mode after timeout. X-Git-Tag: v2.4.2~19^2~1224 X-Git-Url: https://delta.frontaccounting.com/gitweb/?p=fa-stable.git;a=commitdiff_plain;h=928fd7212cf33c745b2373072d4c573cdcf12c4f Fixed previous interface mode after timeout. --- diff --git a/access/login.php b/access/login.php index 38b418e6..dc873fb9 100644 --- a/access/login.php +++ b/access/login.php @@ -38,7 +38,11 @@ function defaultCompany() // echo $def_coy; echo $_SESSION["wa_current_user"]->company; ?>].selected = true; +} +function set_fullmode() { document.getElementById('ui_mode').value = 1; + this.form.submit(); + return true; } <?php echo $app_title . " " . $version;?> @@ -81,7 +85,7 @@ if (!$login_timeout) { // FA version info
- + ui_mode; ?>"> @@ -126,7 +130,7 @@ if (!$login_timeout) { // FA version info - +
");?> " name="SubmitUser" />");?> " name="SubmitUser" onclick="set_fullmode();" />