| CODENOTIFIER | HelpYou are not signed inSign in |
Project: Potion Store
Revision: 70
Author: andykim78
Date: 29 Feb 2008 20:26:20
Changes:Fixed bug with previous commit
Files:| ... | ...@@ -1,7 +1,5 @@ | |
| 1 | 1 | <script type="text/javascript"> |
| 2 | $(window).load(function() { | |
| 3 | $('#username').get(0).focus(); | |
| 4 | }); | |
| 2 | onload = function() { document.getElementById("username").focus(); }; | |
| 5 | 3 | </script> |
| 6 | 4 | |
| 7 | 5 | <h3>Magic Potion Required</h3> |
| ... | ...@@ -5,8 +5,8 @@ | |
| 5 | 5 | <title>Admin: <%= controller.action_name %></title> |
| 6 | 6 | <%= stylesheet_link_tag "scaffold" %> |
| 7 | 7 | <%= stylesheet_link_tag "admin" %> |
| 8 | <%= javascript_include_tag "store" %> | |
| 9 | <meta name="viewport" content="width=device-width"/> | |
| 8 | <%= javascript_include_tag "prototype" %> | |
| 9 | <meta name="viewport" content="width=device-width"/> | |
| 10 | 10 | </head> |
| 11 | 11 | <body> |
| 12 | 12 | <% if session[:logged_in] -%> |