summaryrefslogtreecommitdiff
path: root/rt/share/html/Elements/Login
diff options
context:
space:
mode:
Diffstat (limited to 'rt/share/html/Elements/Login')
-rwxr-xr-xrt/share/html/Elements/Login17
1 files changed, 11 insertions, 6 deletions
diff --git a/rt/share/html/Elements/Login b/rt/share/html/Elements/Login
index eb645d47a..b86bfef16 100755
--- a/rt/share/html/Elements/Login
+++ b/rt/share/html/Elements/Login
@@ -2,7 +2,7 @@
%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
@@ -46,11 +46,7 @@
%#
%# END BPS TAGGED BLOCK }}}
% $m->callback( %ARGS, CallbackName => 'Header' );
-<& /Elements/Header, Title => loc('Login'), Focus => 'user' &>
-
-
-%# End of div#quickbar from /Elements/Header
-</div>
+<& /Elements/Header, Title => loc('Login'), Focus => 'user', RichText => 0 &>
<div id="body" class="login-body">
@@ -80,6 +76,15 @@
<input type="hidden" name="next" value="<% $next %>" />
+<script type="text/javascript">
+jQuery(function(){
+ if (window.location.hash) {
+ var form = jQuery("form[name=login]");
+ form.attr('action', form.attr('action') + '#' + window.location.hash.replace(/^#/, ''));
+ }
+});
+</script>
+
<div class="button-row">
<span class="input"><input type="submit" class="button" value="<&|/l&>Login</&>" /></span>
</div>