summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2010-01-02 16:33:35 -0800
committerAndrew Arnott <andrewarnott@gmail.com>2010-01-02 16:33:35 -0800
commite6eebec4ce99b9be0b3f450eb976259ccaa91ce4 (patch)
tree20a97e714eaa472e5652c7ec285e1bac031c633c
parent4c37ffc3bc506c9eed07cb6c8148ff5f8ffb01a4 (diff)
downloadDotNetOpenAuth-e6eebec4ce99b9be0b3f450eb976259ccaa91ce4.zip
DotNetOpenAuth-e6eebec4ce99b9be0b3f450eb976259ccaa91ce4.tar.gz
DotNetOpenAuth-e6eebec4ce99b9be0b3f450eb976259ccaa91ce4.tar.bz2
OpenID text box now gets focus by default.
-rw-r--r--projecttemplates/MvcRelyingParty/Views/Account/LogOn.aspx7
1 files changed, 7 insertions, 0 deletions
diff --git a/projecttemplates/MvcRelyingParty/Views/Account/LogOn.aspx b/projecttemplates/MvcRelyingParty/Views/Account/LogOn.aspx
index 0a4c428..f0cd6ac 100644
--- a/projecttemplates/MvcRelyingParty/Views/Account/LogOn.aspx
+++ b/projecttemplates/MvcRelyingParty/Views/Account/LogOn.aspx
@@ -30,3 +30,10 @@
</div>
<% } %>
</asp:Content>
+<asp:Content ID="Content1" ContentPlaceHolderID="ScriptsArea" runat="server">
+ <script type="text/javascript" src="../../Scripts/MicrosoftAjax.js"></script>
+ <script type="text/javascript" src="../../Scripts/MicrosoftMvcAjax.js"></script>
+ <script type="text/javascript" language="javascript"><!--//<![CDATA[
+ $addHandler(window, 'load', function() { document.getElementsByName("openid_identifier")[0].focus(); });
+ //]]>--></script>
+</asp:Content>